[PATCH 1 of 3] color: document that labels are used for colourising text

Jordi Gutiérrez Hermoso jordigh at octave.org
Mon Aug 25 16:07:18 CDT 2014


On Mon, 2014-08-25 at 11:05 +0200, Martin Geisler wrote:
> Jordi Gutiérrez Hermoso <jordigh at octave.org> writes:

> > @@ -19,7 +19,13 @@ terminal codes used to change color and 
> >  available, then effects are rendered with the ECMA-48 SGR control
> >  function (aka ANSI escape codes).
> >  
> > -Default effects may be overridden from your configuration file::
> > +Text receives color effects depending on the labels that it has. Many
> > +default Mercurial commands emit labelled text. You can also define
> > +your own labels in templates using the label function, see `hg help
> > +templates`.
> 
> Please use "hg" role here, that is, use :hg:`help templates` instead.

Thank you for catching that. I have amended and resent.


More information about the Mercurial-devel mailing list