Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/webutil.py @ 43793:29adf0a087a1
merge with stable
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 05 Dec 2019 11:15:19 -0500 |
parents | 33cff871d3b9 371765e775a2 |
children | 14d0e89520a2 |
comparison
equal
deleted
inserted
replaced
43790:765a9c299c44 | 43793:29adf0a087a1 |
---|---|
871 def join(self, context, mapping, sep): | 871 def join(self, context, mapping, sep): |
872 # could be '{separator}{name}={value|urlescape}' | 872 # could be '{separator}{name}={value|urlescape}' |
873 raise error.ParseError(_(b'not displayable without template')) | 873 raise error.ParseError(_(b'not displayable without template')) |
874 | 874 |
875 def show(self, context, mapping): | 875 def show(self, context, mapping): |
876 return self.join(context, b'') | 876 return self.join(context, mapping, b'') |
877 | 877 |
878 def tobool(self, context, mapping): | 878 def tobool(self, context, mapping): |
879 return bool(self._vars) | 879 return bool(self._vars) |
880 | 880 |
881 def tovalue(self, context, mapping): | 881 def tovalue(self, context, mapping): |