diff of moved files

Thomas Klausner tk at giga.or.at
Fri Nov 29 17:23:51 CST 2013


Hi!

When I import remote sources, I use 'git addremove -s 80' to find
files that were moved. This works fine -- it recognizes if a is
renamed to b and modified.

When I do 'hg diff' before committing this, I get two diffs though:
one for removing a and one for adding b. I'd be more interested in the
diff between a and b, since we've decided it's the same file.

Is there a way to get that?

Thanks,
 Thomas


More information about the Mercurial mailing list