changeset 38447 | b6294c113794 |
parent 38299 | 88e7105b5cd9 |
child 38448 | dae829b4de78 |
--- a/mercurial/templateutil.py Mon Jun 18 21:58:04 2018 +0900 +++ b/mercurial/templateutil.py Sun Jun 17 16:10:38 2018 +0900 @@ -350,7 +350,8 @@ return gen def tobool(self, context, mapping): - return bool(self.tovalue(context, mapping)) + w = makewrapped(context, mapping, self._value) + return w.tobool(context, mapping) def tovalue(self, context, mapping): return _unthunk(context, mapping, self._value)