[PATCH RFC] templater: switch ctx of list expression to rev of revset() (BC)
Yuya Nishihara
yuya at tcha.org
Tue Sep 15 08:07:18 CDT 2015
On Mon, 14 Sep 2015 10:05:47 -0700, Pierre-Yves David wrote:
> 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?
I think no. It also lacks error handling as revset.formatspec() is internal
function.
More information about the Mercurial-devel
mailing list