Request for review: bzr import support for Convert Extension

Marek Kubica marek at xivilization.net
Mon Sep 22 15:34:23 CDT 2008


Hi,

you probably forgot about me since I posted first exactly one month
ago, on the 22nd of August.

Since that time, I continued to work on it in a repository that pmezard
set up on Bitbucket: <http://www.bitbucket.org/pmezard/hg-bzr/>

You can clone freely from there and tell me your thoughts - I'd like to
get this stuff into the mainline to be able to work in the repository
on the bzr export. So I'm willing to put this up for discussion now.

I really have to thank Patrick Mézard for his help by answering some of
my stupid questions on IRC and the periodic reviews which made sure
that I didn't screw up the import completely.

Now, why did it take 5 weeks? I tried making the thing as robust as
possible, I added quite a bit of tests and ran it agains huge
repositories.

I was testing mainly on the Python bzr-repository which is available
form Python.org (it is already a mirror of the svn version), but
besides taking two days for importing the 69000+ revisions it went
fine. For the last weeks, I've been busy importing the currently 19640
revisions of bzr.dev, the main Bazaar development repository, which
stressed the code a lot more as the history of bzr.dev is quite quirky.

Fun facts: the bzr repositorys .hg takes up 42MB compared with
Mercurials 10MB and has nearly three times as many revisions. I
consider this code stress-tested :) Some of the strange test-cases
were reproduced by creating small programs which use the bzrlib API, so
the tests catch about all strange stuff that can happen.

If you're interested, I can provide a clone of bzr.dev - running hg
glog on it is quite fun, as there are quite a lot of branches in
parallel.

So - I'd be happy if this could be integrated into the mainline, so I
could take a look at the bzr export.

regards,
Marek



More information about the Mercurial-devel mailing list