cvsps-import: AssertionError: Failed to process: 'Branches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CVS to Bazaar importer |
Triaged
|
High
|
Unassigned |
Bug Description
As shown below - the import dies fairly quickly.
I've managed to use cvsps to create a git repository from this one, so in principle it should work...
cvs -v
Concurrent Versions System (CVS) 1.12.13 (client/server)
BRAEBURN:~ dr$ rm -r bzr.aquamacs/
BRAEBURN:~ dr$ bzr cvsps-import cvs aquamacs bzr.aquamacs
Creating cvsps dump file: bzr.aquamacs/
branch HEAD not found in global branch hash
Processed 0 patches (0 new, 0 existing) on 0 branches (0 tags) in 11.8s (0.00 patch/s)
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/Library/
return run_bzr(argv)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Users/
importer.
File "/Users/
patchsets = self._parse_
File "/Users/
patchsets = parser.parse(pb=pb)
File "/Users/
assert False, 'Failed to process: %r' % (line,)
AssertionError: Failed to process: 'Branches: dr\n'
bzr 1.7.1rc1 on python 2.5.1 (darwin)
arguments: ['/usr/
encoding: 'US-ASCII', fsenc: 'utf-8', lang: None
plugins:
cvsps_import /Users/
fastimport /Users/
launchpad /Library/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
cvsps-import doesn't handle the "Branches" field. It should, as it gives more accurate representation of the changes. But that was only added in a new version of cvsps, and nobody has stepped up to write a patch.