Clean way of extracting rename information from mercurial
Patrick Mézard
pmezard at gmail.com
Wed Nov 28 11:21:37 CST 2007
Brendan Cully a écrit :
> 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>
Unfortunately, it might not work right now (http://www.selenic.com/mercurial/bts/issue760).
More information about the Mercurial
mailing list