Clean way of extracting rename information from mercurial
Dustin Sallings
dustin at spy.net
Wed Nov 28 17:05:45 UTC 2007
I wouldn't call that error prone. Mercurial and git both have to
understand then and can't get them wrong.
There's an api provided by mercurial that will do that for you. I
don't remember exactly what it is since I don't have a computer out,
but I have a program that relies on it.
--
Dustin Sallings (mobile)
On Nov 28, 2007, at 6:06, Yaron Minsky <yminsky at janestcapital.com>
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.
>
> y
>
>
> --
> Yaron Minsky <yminsky at janestcapital.com>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
More information about the Mercurial
mailing list