Template keyword for all "names"

Sean Farley sean at farley.io
Wed Dec 23 22:17:50 CST 2015


Gregory Szorc <gregory.szorc at gmail.com> writes:

> `hg log` prints out all names from all namespaces by default.
>
> The namespaces API magically generates a template keyword using
> templatekw.shownames(), making it available for templating usage.
>
> However, we don't appear to have a template keyword that expands to all
> names attached to a changeset. That feels like an important facility to
> have, as otherwise it requires all templates to have knowledge of all
> custom namespaces, which isn't feasible.
>
> Is there a plan to add a {names} (or similar)? Has the user-facing
> terminology been bikeshedded yet?

If I remember correctly, it was just an oversight to get namespaces in
before a freeze. Let the bikeshedding games begin!


More information about the Mercurial-devel mailing list