problem with extdiff extension

James Walker kagi at jwwalker.com
Wed Aug 24 07:00:50 UTC 2011


On 8/23/11 2:12 PM, Matt Mackall wrote:
> On Tue, 2011-08-23 at 00:14 -0700, James Walker wrote:
>> Or failing that, I wish I knew some way to take a current pathname and a
>> revision, and ask Mercurial: What was the pathname, if any, of this file
>> at that revision?
>
> The most straightforward way is:
>
> hg log -vf filename


Maybe I'm missing something, but that doesn't seem like as good a 
solution as I would hope for.  If I say

   hg log -vf foo

and go back a few changesets and see one that involves the files bar and 
baz, I know that one of them is the past incarnation of foo, but which 
one?  Maybe I can find another changeset that mentions baz but not bar, 
or vice versa, but maybe not.

I'll grant that a human could look at a log and almost always figure out 
what happened, but I'd like a method that can be automated.



More information about the Mercurial mailing list