hg convert from git doesn't follow renames

Matt Mackall mpm at selenic.com
Tue Nov 3 08:43:53 CST 2009


On Mon, 2009-11-02 at 18:54 -0800, Paul Molodowitch 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.

There is no rename information to preserve. Git does not directly track
renames, it infers them later:

http://git.or.cz/gitwiki/GitFaq#Whydoesgitnot.22track.22renames.3F

Mercurial currently uses more traditional explicit rename tracking.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list