comparison mercurial/templatefuncs.py @ 37499:75c13343cf38

templater: wrap result of '%' operation so it never looks like a thunk This fixes min/max()/json() of map result. Before, it was taken as a lazy byte string and stringified by evalfuncarg().
author Yuya Nishihara <yuya@tcha.org>
date Sun, 18 Mar 2018 23:36:52 +0900
parents ebf139cbd4a1
children f83cb91b052e
comparison
equal deleted inserted replaced
37498:aacfca6f9767 37499:75c13343cf38