Migrating CVS repositories to Bazaar

Ian Clatworthy ian.clatworthy at internode.on.net
Mon Mar 30 12:11:35 BST 2009

J. Bobby Lopez wrote:

> #$ cat ../webpim-cvs-git.* | bzr fast-import -
> bzr: ERROR: Revision {(('upload.php-20090330090353-n02c3xbdi30ag2dp-3',
> 'jbl_jbl-20051128073119-vd26xmmpzz2ubqgm'),)} not present in
> "<bzrlib.knit.KnitGraphIndex object at 0xb76d9bec>".
> I converted the CVS repository to git format using the latest cvs2git,
> which generated the .blob and .dump files you see above.
> Is there something I'm doing wrong?

Probably not. Please raise a bug against bzr-fastimport and I'll take
a look real soon now. If you can, try isolating the problem down to
a small number of revisions and upload the fast-import data stream
(compressed) as an attachment.

I've put a lot of work into fast-import lately to make it support
the pending new format because:

1. the old algorithm made assumptions that no longer hold true
   (e.g. inventories can longer be mutated in place)

2. Everyone will *love* the new format and want to migrate to
   Bazaar so fast-import better work for them!

The downside is that I've broken a few edge cases from working
by the sound of things, if they ever worked originally.

Ian C.

More information about the bazaar mailing list