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

Sean Farley sean at farley.io
Wed Mar 2 17:30:53 EST 2016


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!


More information about the Mercurial-devel mailing list