[PATCH 2 of 2] color: copy docstring of label() template function to wrapper

Yuya Nishihara yuya at tcha.org
Thu Jun 11 18:02:46 CDT 2015


On Thu, 11 Jun 2015 17:54:09 -0500, Matt Mackall wrote:
> On Thu, 2015-06-11 at 00:06 +0900, Yuya Nishihara wrote:
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1433941695 -32400
> > #      Wed Jun 10 22:08:15 2015 +0900
> > # Node ID 9b426dfe48be7d63162f668e342c8abe0077c93c
> > # Parent  345ebbada28faee5263b09514102553444e6963c
> > color: copy docstring of label() template function to wrapper
> > 
> > Otherwise label() wouldn't be listed in "hg help template" if color extension
> > is enabled.
> 
> We should probably build this into wrapfunction.

I'm going to merge color.templatelabel() with templater.label().


More information about the Mercurial-devel mailing list