Mercurial > hg
diff contrib/revsetbenchmarks.py @ 38447:b6294c113794
templater: fix truth testing of integer 0 taken from a list/dict
Broken at f9c426385853. bool(python_value) shouldn't be used here since
an integer 0 has to be truthy for backward compatibility.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 17 Jun 2018 16:10:38 +0900 |
parents | 984c4d23d39c |
children | e2697acd9381 |