On Sat, 12 Aug 2017 23:07:25 +0900, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori <fo...@lares.dti.ne.jp>
> # Date 1502546625 -32400
> #      Sat Aug 12 23:03:45 2017 +0900
> # Node ID 9a4194f1f4481c5b7983e31aeda9033c98d0a0fb
> # Parent  db6b666ce1e6c6fd26f6fb07c00fe0e3b18a081d
> # Available At https://bitbucket.org/foozy/mercurial-wip
> #              hg pull https://bitbucket.org/foozy/mercurial-wip -r 
> 9a4194f1f448
> # EXP-Topic templatekw-mapping-obselements
> templatekw: add singular names to refer list element in map expression
> 
> Before this patch, each element values for "predecessors" and
> "successorset" (referring elements in "successorssets") template
> keyword can't be referred by singular or such kind of name in map
> expression.
> 
> This feature seems important for similarity to other listing template
> keywords (e.g. "child" refers elements in "children"), even though
> this referring feature is just implied in example of help document.

"{node}" should work. I'm not so enthusiastic to support plural/singular pairs
unless they are intuitive.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to