hg convert from git doesn't follow renames
Greg Ward
greg-hg at gerg.ca
Tue Nov 3 08:15:06 CST 2009
[switching to users list, since this is more of a support question
than a development question]
On Mon, Nov 2, 2009 at 9:54 PM, Paul Molodowitch <elrond79 at gmail.com> wrote:
> Was looking to switch my repo over from git to hg, but I ran into a
> bit of a snag - it seems hg convert from git doesn't preserve renaming
> information.
One possibility is to use fastimport. That is, dump the git repo with
'git fast-export', then use the hg-fastimport extension
(http://mercurial.selenic.com/wiki/FastImportExtension) to load it
into Mercurial. *If* it works, I think it will do a more accurate
conversion than hg convert does.
Disclaimer: although I am the maintainer of hg-fastimport, I honestly
don't know how well this will work for you. I haven't tested
hg-fastimport with exports from git. And I apologize for the clunky
setup procedure. Let us know how it goes!
Greg
More information about the Mercurial
mailing list