[PATCH RFC] templater: switch ctx of list expression to rev of revset() (BC)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Sep 14 12:05:47 CDT 2015



On 09/12/2015 08:07 AM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1441984901 -32400
> #      Sat Sep 12 00:21:41 2015 +0900
> # Node ID c84a1730514ee190526966250110fe4cf740d8d1
> # Parent  efebefe162e98aa79438daaea9aaee47c7de33bb
> templater: switch ctx of list expression to rev of revset() (BC)
>
> Because revset() function generates a list of revisions, it seems sensible
> to switch the ctx as well where a list expression will be evaluated. I think
> "{revset(...) % "..."}" expression wasn't considered well when it was
> introduced at cda9d2b6beab.

Do we have user facing documentation explaining the meaning of %d and %s 
here?


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list