External qdiff?
Mads Kiilerich
mads at kiilerich.com
Thu Oct 15 19:58:30 UTC 2009
On 10/15/2009 09:32 PM, Stephen Rasku wrote:
> On Tue, Oct 13, 2009 at 16:53, Mads Kiilerich<mads at kiilerich.com> wrote:
>> Stephen Rasku wrote, On 10/13/2009 06:03 PM:
>>>
>>> I use the external diff command, vimdiff, as described at
>>> <http://mercurial.selenic.com/wiki/ExtdiffExtension>. Is there a way
>>> to use something similar for the mq command, qdiff?
>>
>> Thanks for asking. I have wanted that too, but have always got the work done
>> with it.
>>
>> But with the parentrevspec extension I can use
>>
>> hg extdiff -p meld -r.^1
>>
>> or
>>
>> [alias]
>> qmeld = extdiff -p meld -r.^1
>
> Your tip gave me an idea. Doing:
>
> hg vimdiff -r -2
>
> gives me the equivalent of:
>
> hg qdiff
>
> without having to install an additional extension.
Yes, but that compares with "tip"-1 in revision numbers, so that will
only work if your current patch is at tip. Comparing with parents first
parent is slightly more robust. YMMV.
/Mads
More information about the Mercurial
mailing list