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

cvs2svn fails on file added on branch

    XMLWordPrintableJSON

    Details

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

      NetBSD

      Description

      I'm having problems with cvs2svn refusing to handle a certain file in 
      the PuTTY CVS repository.  I'll attach a tarball of the cut-down 
      repository to this issue.
      
      The failure looks like this:
      
      committing: Fri Feb 19 15:05:40 1999, over 0 seconds
          deleting 1.1 : trunk/PuTTY.make
      Traceback (most recent call last):
        File "./cvs2svn/cvs2svn.py", line 1160, in ?
          main()
        File "./cvs2svn/cvs2svn.py", line 1157, in main
          convert(ctx, start_pass=start_pass)
        File "./cvs2svn/cvs2svn.py", line 1076, in convert
          _passes[i](ctx)
        File "./cvs2svn/cvs2svn.py", line 1025, in pass4
          c.commit(dump, ctx)
        File "./cvs2svn/cvs2svn.py", line 713, in commit
          dump.delete_path(svn_path)
        File "./cvs2svn/cvs2svn.py", line 588, in delete_path
          deleted_path = self.head_mirror.delete_path(svn_path, 1) # 1 
      means prune
        File "./cvs2svn/cvs2svn.py", line 392, in delete_path
          self._delete_tree(parent_dir[basename])
      KeyError: PuTTY.make
      

      Original issue reported by bjh21

        Attachments

        1. 1_putty.tar
          80 kB
          Subversion Importer
        2. 2_cvs2svn-branch-add.patch
          3 kB
          Karl Fogel
        3. 3_1302-redux.tar.gz
          8 kB
          Subversion Importer

          Issue Links

            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: