[PATCH STABLE] templatekw: re-add showtags() to list tags keyword up in online help

Sean Farley sean.michael.farley at gmail.com
Sun Feb 1 03:10:19 UTC 2015


FUJIWARA Katsunori writes:

> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1422751007 -32400
> #      Sun Feb 01 09:36:47 2015 +0900
> # Branch stable
> # Node ID 73a146afa65f277d86204ca6fee2204548ac78ff
> # Parent  6becb9dbca25057c6186e255a48dd2c2ce5701a5
> templatekw: re-add showtags() to list tags keyword up in online help
>
> Changeset d69a7fc68ad5 removed "showtags()" definition for "tags"
> template keyword from "templatekw.py", because "namespaces" puts a
> helper function for it into template keyword map automatically. This
> works correctly from the point of view of templating functionality.
>
> But on the other hand, it removed "tags" template keyword from "hg
> help templates" unexpectedly, because online help text is built before
> "namespaces" puts a helper function for "tags" into template keyword
> map.

Ah, thanks for noticing that! After the freeze, I think it'd be worth
visiting getting 'hg help template' to display the namespace template
methods correctly.


More information about the Mercurial-devel mailing list