All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANN] mtn2git v0.1
@ 2008-09-12 22:59 Felipe Contreras
  2008-09-13  9:45 ` Jakub Narebski
  2008-09-13 16:03 ` cyril Romain
  0 siblings, 2 replies; 14+ 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] 14+ messages in thread

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

Thread overview: 14+ 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 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
2008-09-13 16:03 ` cyril Romain
2008-09-13 16:42   ` Felipe Contreras
2008-09-13 17:43     ` Michael Krelin
2008-09-13 17:53       ` Felipe Contreras
2008-09-13 18:18         ` Michael Krelin
2008-09-13 18:27           ` Felipe Contreras
2008-09-14  8:59             ` Michael Krelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.