[ANN] mtn2git v0.1
Felipe Contreras
felipe.contreras at gmail.com
Fri Sep 12 18:59:14 EDT 2008
Hi,
This is the result of various experiments I've been doing while trying
to import mtn repositories into git. I've looked into other mtn2git
scripts but none fitted my needs.
After some rfcs on git and monotone mailing lists it seems now the
script is going in the right direction.
There are two modes:
== checkout ==
In this mode each revision is checked out and imported directly into
git. This means it's 100% sure that the result would be an exact
clone.
The disadvantage is that it's extremely slow (1 day for 25,000 commits).
== fast-import ==
This mode requires a few patches for git fast-import, it's very fast
(40 min for 25,000 commits), but not 100% reliable yet.
There are also some missing features like branch creation and updates.
My plan is to keep these two modes in the code until fast-import
method is reliable enough.
I've tried this with Pidgin's repository. The result is here:
http://github.com/felipec/pidgin-clone
It would be interesting to do something similar with OE's repo. Any takers?
Comments and patches are welcome :)
--
Felipe Contreras
More information about the Devel
mailing list