[PATCH 4 of 4] templater: make date() use helper function to evaluate argument

Yuya Nishihara yuya at tcha.org
Fri Mar 4 09:16:23 EST 2016


On Wed, 02 Mar 2016 14:30:53 -0800, Sean Farley wrote:
> Yuya Nishihara <yuya at tcha.org> writes:
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1455424610 -32400
> > #      Sun Feb 14 13:36:50 2016 +0900
> > # Node ID df8d4064c60de72b2204c714917f835ac0266270
> > # Parent  93252935f1b4490e6061865c45245173855bfb02
> > templater: make date() use helper function to evaluate argument
> >
> > A date argument should never be a generator, but using evalfuncarg() should
> > be good for consistency.
> 
> This series looks good to me. Thanks for the tests, too!

Thanks. I'm sure these patches are trivial bug fixes, so queued by myself.


More information about the Mercurial-devel mailing list