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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • all
    • cvs2svn-1.0
    • tools
    • 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. 6_1421-partial-fix.patch
          1 kB
          Max Oliver Bowsher
        2. 5_issue-1421-small-repos.tgz
          5 kB
          Blair Zajac
        3. 4_1421-medium-repro.tar.gz
          35 kB
          Karl Fogel
        4. 3_1421-medium-repro.tar.gz
          35 kB
          Karl Fogel
        5. 2_cvs2svn-debug.diff
          3 kB
          Karl Fogel
        6. 1_gs-macgsview-cvsroot.tar.gz
          469 kB
          Subversion Importer

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: