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

closest_copy on nodes changing type across parent copy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.5.0
    • libsvn_fs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: