changeset 31452 | 52dabcc49968 |
parent 31171 | 1ec89cf0ea49 |
child 31699 | 568c4e7437b2 |
--- a/mercurial/templatekw.py Wed Mar 15 23:06:50 2017 +0900 +++ b/mercurial/templatekw.py Wed Mar 15 23:21:30 2017 +0900 @@ -336,7 +336,7 @@ c = [makemap(k) for k in extras] f = _showlist('extra', c, plural='extras', **args) return _hybrid(f, extras, makemap, - lambda x: '%s=%s' % (x['key'], x['value'])) + lambda x: '%s=%s' % (x['key'], util.escapestr(x['value']))) @templatekeyword('file_adds') def showfileadds(**args):