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

cvs2svn.py should support multicomponent --trunk, --branches, --tags

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • all
    • None
    • tools
    • None
    • Linux

    Description

      Karl,
      
      Running
      
      % cd svn/tools/cvs2svn/test-data
      % ../cvs2svn.py -v --dump-only --trunk 1/2/3 main-cvsrepos
      
      gets this trace:
      
      Finishing branches:
      finishing 'B_FROM_INITIALS' as branch
      Traceback (most recent call last):
        File "../cvs2svn.py", line 2162, in ?
          main()
        File "../cvs2svn.py", line 2158, in main
          convert(ctx, start_pass=start_pass)
        File "../cvs2svn.py", line 2047, in convert
          _passes[i](ctx)
        File "../cvs2svn.py", line 2011, in pass4
          sym_tracker.finish(dumper, ctx)
        File "../cvs2svn.py", line 1628, in finish
          self.fill_branch(dumper, ctx, name, [1])
        File "../cvs2svn.py", line 1593, in fill_branch
          self.fill_name(dumper, ctx, branch, None, jit_new_rev)
        File "../cvs2svn.py", line 1567, in fill_name
          is_tag, jit_new_rev)
        File "../cvs2svn.py", line 1453, in copy_descend
          dumper.copy_path(src_path, parent_rev, copy_dst, val)
        File "../cvs2svn.py", line 904, in copy_path
          entries)
        File "../cvs2svn.py", line 604, in change_path
          for ent in new_val.keys():
      AttributeError: 'NoneType' object has no attribute 'keys'
      
      Blair
      

      Attachments

        Issue Links

          Activity

            People

              kfogel Karl Fogel
              blair Blair Zajac
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: