[PATCH 12 of 12] templater: add a method to list labels in a namespace

Sean Farley sean.michael.farley at gmail.com
Thu Aug 21 13:27:59 CDT 2014


Pierre-Yves David writes:

> On 08/18/2014 02:18 PM, Sean Farley wrote:
>> # HG changeset patch
>> # User Sean Farley <sean.michael.farley at gmail.com>
>> # Date 1408394323 18000
>> #      Mon Aug 18 15:38:43 2014 -0500
>> # Node ID fe9b72aa7e160e690813cfe4242b013fb147937e
>> # Parent  e1ab9da20be237323a1340efa16b58b03525596f
>> templater: add a method to list labels in a namespace
>
> I'm not sure about what this new function does. And the lack fo 
> documentation does not helps.
>
> It also lack tests (as, I just realised, this whole series)

After we decide on a name, I'll add the tests and more
documentation. This patch adds the ability to do:

hg log -r . -T '{rev}:{node | short} {labels("foo") % "foo/{label} "}\n'


More information about the Mercurial-devel mailing list