How to define colours for mq?
Idan Kamara
idankk86 at gmail.com
Thu Oct 4 11:13:54 UTC 2012
On Thu, Oct 4, 2012 at 12:36 PM, <mk-lists at email.de> wrote:
>
> Hi MQ-gurus,
>
> I ran into an issue on my terminal with the default colors of mq output.
>
> I have two patches in the queue:
> ---
> $ hg qseries
> 0 U 2nd_start_with_CBoardConfigFileObjectMap
> 1 U start_with_CBoardConfigFileObjectMap
> ---
>
> But since my terminal has a black background and white foreground I can
> only see:
> ---
> $ hg qseries
> 0 U
> 1 U
> ---
>
> Fun, right?!
>
> This is what is currently in my .hgrc:
> ---
> [color]
> status.modified = magenta bold
> status.added = green bold
> status.removed = red bold
> status.deleted = cyan bold
> status.unknown = blue bold
> status.ignored = black bold
> ---
>
> and I guess I'd need to add something like this:
> ---
> mq.uncommitted = green bold
> mq.applied = white bold
> ---
>
> I couldn't find documentation concerning setting the colours correctly for
> mq neither in http://mercurial.selenic.com/wiki/MqTutorial nor in
> http://mercurial.selenic.com/wiki/MqExtension …
>
> Anyone out there who can give me a hint where to read more?
Don't know if it's documented anywhere, but it's at the bottom of
hgext/mq.py:
http://selenic.com/repo/hg/file/6647ac9b9044/hgext/mq.py#l3591
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121004/c99efba8/attachment-0002.html>
More information about the Mercurial
mailing list