[PATCH 2 of 2 V4] color: fallback and test label as an effect

Sean Farley sean.michael.farley at gmail.com
Fri Apr 11 18:55:16 CDT 2014


Matt Mackall <mpm at selenic.com> writes:

> On Mon, 2014-04-07 at 18:20 -0500, Sean Farley wrote:
>> # HG changeset patch
>> # User Sean Farley <sean.michael.farley at gmail.com>
>> # Date 1396903047 18000
>> #      Mon Apr 07 15:37:27 2014 -0500
>> # Node ID c3f05ce58c1a48c70a6d998a6fe64533a28fb262
>> # Parent  fe252f8b05c6a0e3b3ad4ed54d90c5bac07c0d6b
>> color: fallback and test label as an effect
>> 
>> With this changeset, we can now send a color name directly to the label
>> function, e.g.
>> 
>> $ hg log -r . -T "{label('red', node|short)}\n"
>
> These are queued for default, thanks. It'd be nice if we could figure
> out how to drop the need to quote 'red' here.

I agree. I'll try to whip something up.


More information about the Mercurial-devel mailing list