External qdiff?

Stephen Rasku mercurial at srasku.net
Thu Oct 15 20:46:00 UTC 2009


On Thu, Oct 15, 2009 at 12:58, Mads Kiilerich <mads at kiilerich.com> wrote:
> On 10/15/2009 09:32 PM, Stephen Rasku wrote:
>>
>> 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.

OK, thanks for the heads up.

I don't think it will usually be a problem with my workflow.  If I
have a patch I am working on it's likely to be the tip.  I am trying
to think of a case where it wouldn't but I can't come up with one.

...Stephen




More information about the Mercurial mailing list