[PATCH 1 of 8] templater: pass context down to unwraphybrid()

Yuya Nishihara yuya at tcha.org
Mon Apr 2 09:45:42 UTC 2018


On Sun, 01 Apr 2018 11:45:58 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1521284945 -32400
> #      Sat Mar 17 20:09:05 2018 +0900
> # Node ID 529838f7858556c0f9d180a276b483578c6d55d4
> # Parent  02079695afdd39020b13f238c69691dce14b932f
> templater: pass context down to unwraphybrid()

Please disregard this series.

> Unlike eval*() functions, flatten(), stringify(), and unwraphybrid() don't
> take a mapping since these functions may be applied to a tree of generators
> where each node should be bound to the mapping when it was evaluated.

Rethinking about it, this appears not to actually matter. And the mapping dict
will be necessary to fix a web template bug.


More information about the Mercurial-devel mailing list