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

cvs2svn fails because dir is pruned but later used in same revision

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: cvs2svn-1.0
    • Component/s: tools
    • Labels:
      None

      Description

      Using revision 6482 of cvs2svn.py to convert this repository
      
         http://i.cantcode.com/~jack/xiphrepo-test.tar.gz
      
      with this command line
      
         $ cvs2svn.py --create -s svnrepos xiphrepo-test
      
      fails during the 'svnadmin load' stage, because the dumpfile has these
      two things in this order both in revision 91:
      
         Node-path: branches/volsung_20010721/ao/src
         Node-action: delete
      
         [...]
      
         Node-path: branches/volsung_20010721/ao/src/plugins/irix
         Node-kind: dir
         Node-action: add
         Prop-content-length: 10
         Content-length: 10
      
         PROPS-END
      
      Oops.  There's nothing between them that would cause the .../ao/src/
      directory to get recreated, either.  Naturally, the loader errors in
      libsvn_fs/tree.c:179:not_found() when it tries to run open_path to
      create the .../irix/ subdir.
      

        Attachments

        1. 1_gs-macgsview-cvsroot.tar.gz
          469 kB
          Subversion Importer
        2. 2_cvs2svn-debug.diff
          3 kB
          Karl Fogel
        3. 3_1421-medium-repro.tar.gz
          35 kB
          Karl Fogel
        4. 4_1421-medium-repro.tar.gz
          35 kB
          Karl Fogel
        5. 5_issue-1421-small-repos.tgz
          5 kB
          Blair Zajac
        6. 6_1421-partial-fix.patch
          1 kB
          Max Oliver Bowsher

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kfogel Karl Fogel
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: