Show More
@@ -121,6 +121,7 b' test-convert-git.t' | |||||
121 | test-convert-hg-sink.t |
|
121 | test-convert-hg-sink.t | |
122 | test-convert-hg-source.t |
|
122 | test-convert-hg-source.t | |
123 | test-convert-hg-startrev.t |
|
123 | test-convert-hg-startrev.t | |
|
124 | test-convert-mtn.t | |||
124 | test-convert-splicemap.t |
|
125 | test-convert-splicemap.t | |
125 | test-convert-svn-sink.t |
|
126 | test-convert-svn-sink.t | |
126 | test-convert-tagsbranch-topology.t |
|
127 | test-convert-tagsbranch-topology.t |
@@ -70,7 +70,10 b' def decodeextra(text):' | |||||
70 |
|
70 | |||
71 | def encodeextra(d): |
|
71 | def encodeextra(d): | |
72 | # keys must be sorted to produce a deterministic changelog entry |
|
72 | # keys must be sorted to produce a deterministic changelog entry | |
73 | items = [_string_escape('%s:%s' % (k, d[k])) for k in sorted(d)] |
|
73 | items = [ | |
|
74 | _string_escape('%s:%s' % (k, pycompat.bytestr(d[k]))) | |||
|
75 | for k in sorted(d) | |||
|
76 | ] | |||
74 | return "\0".join(items) |
|
77 | return "\0".join(items) | |
75 |
|
78 | |||
76 | def stripdesc(desc): |
|
79 | def stripdesc(desc): |
General Comments 0
You need to be logged in to leave comments.
Login now