git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANN] mtn2git v0.1
@ 2008-09-12 22:59 Felipe Contreras
  2008-09-13  9:45 ` Jakub Narebski
  0 siblings, 1 reply; 6+ messages in thread
From: Felipe Contreras @ 2008-09-12 22:59 UTC (permalink / raw)
  To: git, monotone-devel, devel, openembedded-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-15  9:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12 22:59 [ANN] mtn2git v0.1 Felipe Contreras
2008-09-13  9:45 ` Jakub Narebski
2008-09-13 10:52   ` Felipe Contreras
2008-09-13 12:02     ` Jakub Narebski
2008-09-13 15:21       ` Felipe Contreras
2008-09-15  9:07         ` [Monotone-devel] " Markus Wanner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).