[PATCH 0 of 1] keyword: label kwfiles output for color

Steve Borho steve at borho.org
Sat May 8 12:40:19 CDT 2010


On Sat, May 8, 2010 at 3:17 AM, Christian Ebert <blacktrash at gmx.net> wrote:
> Hi,
>
> This patch colorizes the output of hg kwfiles.
>
> Am I abusing ui.label too much by changing the semantics of
> the hg status labels? It is in spirit of the kwfiles command
> though, which does mimic hg status.
>
> Personally, I think it is not needed to add custom color
> configuration for hgext.keyword, but that may be because I
> do not use color that much.

It would be nice if there was a simple fall-back mechanism, where you
could say something like:

label = color.try('kwfiles.broken', 'status.missing')

--
Steve Borho


More information about the Mercurial-devel mailing list