mercurial/hgweb/webutil.py
branchstable
changeset 43737 371765e775a2
parent 43106 d783f945a701
child 43793 29adf0a087a1
equal deleted inserted replaced
43734:88a306478556 43737:371765e775a2
   863     def join(self, context, mapping, sep):
   863     def join(self, context, mapping, sep):
   864         # could be '{separator}{name}={value|urlescape}'
   864         # could be '{separator}{name}={value|urlescape}'
   865         raise error.ParseError(_(b'not displayable without template'))
   865         raise error.ParseError(_(b'not displayable without template'))
   866 
   866 
   867     def show(self, context, mapping):
   867     def show(self, context, mapping):
   868         return self.join(context, b'')
   868         return self.join(context, mapping, b'')
   869 
   869 
   870     def tobool(self, context, mapping):
   870     def tobool(self, context, mapping):
   871         return bool(self._vars)
   871         return bool(self._vars)
   872 
   872 
   873     def tovalue(self, context, mapping):
   873     def tovalue(self, context, mapping):