cvsps_import fails with cvsps 2.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CVS to Bazaar importer |
New
|
Undecided
|
Unassigned |
Bug Description
Basically, it looks like cvsps-import doesn't support the new "Branches: " line in cvsps 2.2. With the latest trunk checkout of cvsps-import and cvsps 2.2b1, I get:
AssertionError: Failed to process: 'Branches: \n'
Here are some steps to reproduce:
1) Install cvsps 2.2
2) rsync -av --include=
3) CVSROOT=
And for me, that produces the following stack trace:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
ret = run(*run_argv)
File "/usr/lib64/
return self.run(
File "/usr/lib/
importer.
File "/usr/lib/
patchsets = self._parse_
File "/usr/lib/
patchsets = parser.parse(pb=pb)
File "/usr/lib/
assert False, 'Failed to process: %r' % (line,)
AssertionError: Failed to process: 'Branches: \n'
bzr 1.17 on python 2.6 (linux2)
arguments: ['/usr/bin/bzr', 'cvsps-import', 'mozilla-cvs', 'mozilla/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
cvsps_import /usr/lib/
launchpad /usr/lib64/
netrc_
*** 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.
Oh, I forgot Step 2.5:
perl -pi -e 's/NoLocks/ #NoLocks/ ' mozilla- cvs/CVSROOT/ config
(Otherwise cvsps will throw an error.)