changeset 41574 | b436059c1cca |
parent 41275 | 1421d0487a61 |
child 41763 | 6843379bf99e |
--- a/mercurial/changelog.py Tue Feb 05 21:30:30 2019 +0300 +++ b/mercurial/changelog.py Tue Feb 05 21:31:33 2019 +0300 @@ -70,7 +70,10 @@ def encodeextra(d): # keys must be sorted to produce a deterministic changelog entry - items = [_string_escape('%s:%s' % (k, d[k])) for k in sorted(d)] + items = [ + _string_escape('%s:%s' % (k, pycompat.bytestr(d[k]))) + for k in sorted(d) + ] return "\0".join(items) def stripdesc(desc):