Mercurial > hg
comparison tests/test-extdiff.t @ 37015:a318bb154d42
templatefuncs: do not stringify result of if*() expression
Returning a generator means that the result is a byte string. I can't find
any reason to make the "if" condition lazy since it is evaluated anyway
when {if()} has to be evaluated. So let's simply make if*() return an input
expression unmodified.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 19 Mar 2018 22:10:40 +0900 |
parents | be5a6fe3643a |
children | 5abc47d4ca6b |
comparison
equal
deleted
inserted
replaced
37014:a5311d7f4af8 | 37015:a318bb154d42 |
---|