Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2549

closest_copy on nodes changing type across parent copy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.5.0
    • Component/s: libsvn_fs
    • Labels:
      None

      Description

      GIven the following repository:
      r4:  clkao | 2006-05-15 02:26:29 +0100
      Changed paths:
        A  /A.cp/foo
        A  /A.cp/foo/hate
      
      hate
      ----------------------------------------------------------------------
      r3:  clkao | 2006-05-15 02:26:29 +0100
      Changed paths:
        D  /A.cp/foo
      
      grr
      ----------------------------------------------------------------------
      r2:  clkao | 2006-05-15 02:26:29 +0100
      Changed paths:
        A  /A.cp (from /A:1)
      
      branch A
      ----------------------------------------------------------------------
      r1:  clkao | 2006-05-15 02:26:29 +0100
      Changed paths:
        A  /A
        A  /A/bar
        A  /A/foo
      
      Note that foo being a file in r1 but a directory in r4.
      
      calling svn_fs_closest_copy on /A.cp/foo/hate @ r4 causes:
      
      Name does not refer to a filesystem directory: Failure opening '/A.cp/foo/hate':
      '/A.cp/foo' is not a directory in filesystem '/tmp/testfilesystem'
      
      it doesn't matter if /A.cp/foo/hate is a file or directory.
      
      Reproduced on both fsfs and bdb.
      

      Original issue reported by clkao

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: