[PATCH] templater: add 'env()' to fetch environment variables

Yuya Nishihara yuya at tcha.org
Wed Jan 18 08:08:34 EST 2017


On Tue, 17 Jan 2017 23:40:41 -0500, Matt Harbison wrote:
> I see that the default template for 'extras' filters through  
> 'stringescape', which isn't documented, so it isn't in the help.  Any  
> reason it shouldn't be documented?

I guess that's because stringescape isn't generally useful, which doesn't
mean it should be undocumented, though. {extras} may contain an arbitrary
blob (because of the transplant extension), but other template keywords
should return readable data.


More information about the Mercurial-devel mailing list