hg convert from git doesn't follow renames
Augie Fackler
lists at durin42.com
Tue Nov 3 09:49:33 CST 2009
On Tue, Nov 3, 2009 at 9:40 AM, Chad Dombrova <chadrik 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.
>
> i've tried hg-fastimport/export, the hg-git extension, and hg convert,
> and none of them implement renames. is this something that is
> inherently difficult to do or just something that is easily
> forgotten? it's frightening to me to think that every person who has
> converted to hg from git has permanently butchered their history.
hg-git *should* be using the same rename-checking algorithm as git. If
it's not, we should fix that.
> -chad
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list