branch | stable |
changeset 44215 | 2141427533d2 |
parent 44055 | 7f67f53492f7 |
child 44663 | e147748f750b |
--- a/mercurial/changelog.py Wed Mar 25 18:25:58 2020 -0700 +++ b/mercurial/changelog.py Wed Mar 25 18:50:40 2020 -0700 @@ -82,10 +82,7 @@ def encodeextra(d): # keys must be sorted to produce a deterministic changelog entry - items = [ - _string_escape(b'%s:%s' % (k, pycompat.bytestr(d[k]))) - for k in sorted(d) - ] + items = [_string_escape(b'%s:%s' % (k, d[k])) for k in sorted(d)] return b"\0".join(items)