Clean way of extracting rename information from mercurial
Brendan Cully
brendan at kublai.com
Wed Nov 28 16:45:13 UTC 2007
On Wednesday, 28 November 2007 at 09:06, Yaron Minsky wrote:
> Is there a nice way to ask mercurial how files have been renamed between
> two revisions? The reason for the question is that we're trying to put
> together a diff tool that is intelligent about renames, but for now, the
> only way we've managed to get our hands on the data is to parse through
> the output of "hg diff --git", which is somewhat error prone.
you can use hg status -arC --rev <old>:<new>
More information about the Mercurial
mailing list