Mercurial > hg
view tests/narrow-library.sh @ 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 | 2405ca783672 |
children | bcf70058af90 |
line wrap: on
line source
cat >> $HGRCPATH <<EOF [extensions] narrow= [ui] ssh=python "$TESTDIR/dummyssh" [experimental] changegroup3 = True EOF