Differences between revisions 1 and 2
Revision 1 as of 2006-12-19 06:43:52
Size: 533
Editor: mpm
Comment:
Revision 2 as of 2007-07-02 21:55:53
Size: 115
Editor: red
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
To use, run:

{{{
convert-repo <git-dir> <hg-dir> <mapfile>
}}}

(don't forget to create the <hg-dir> repository beforehand)

The <mapfile> is a simple text file that maps a git commit hash to
the hash in Mercurial for that version, like so:

<git hash> <mercurial hash>

If the file doesn't exist, it's automatically created. It's updated
on each commit copied, so convert-repo can be interrupted and can
be run repeatedly to copy new commits.
See ["convert-repo"] for more information.

Mercurial includes a Git conversion script in contrib/convert-repo.

See ["convert-repo"] for more information.

GitConversion (last edited 2009-08-24 16:26:58 by MadsKiilerich)