Re: migrating Mifos from svn to git
- From
Adam Monsen <haircut@gmail.com>
- Date
- May 5, 2010, 04:58 UTC
- Message-ID
- <loom.20100505T065133-348@post.gmane.org>
- In-Reply-To
- <20100502082503.GG92627@acme.spoerlein.net>
Ulrich Spörlein writes:
> svn2git is faster and can cope with multiple branches better, but it has > bugs of its own. Try both of them ...
I did, and--maybe since svn2git appears to be built atop git-svn--they both break at the same point, spouting an error like:
fatal: ambiguous argument '2f53ad77827c0f1d492c031be4fff20b0d60fffc ^..1a6f5af6bd84cb71f25fb1df1c67de1a9b91ba87': unknown revision or path not in the working tree. Use '--' to separate paths from revisions rev-list 2f53ad77827c0f1d492c031be4fff20b0d60fffc ^..1a6f5af6bd84cb71f25fb1df1c67de1a9b91ba87: command returned error: 128
Anyway, I gave up trying to import all svn 1.5+ mergeinfo. Instead, I'm just pulling in our trunk into one repository, and two release branches into separate repositories. Here's my in-progress experiment so far: http://mifos.git.sourceforge.net/git/gitweb-index.cgi . "head" is what used to be "trunk" in svn.
I started writing up a procedure for our developers here: http://www.mifos.org/developers/wiki/MifosVersionControlGuide
If anyone wants to perfect that wiki page, I would love the help.
> Yes, if both repos have the same UUID this should be possible. You need > to fudge this in rev 0 and uuid in your svn mirror.
This is helpful. Thank you!