Show More
@@ -131,7 +131,8 b' class changelog(revlog):' | |||||
131 | return extra |
|
131 | return extra | |
132 |
|
132 | |||
133 | def encode_extra(self, d): |
|
133 | def encode_extra(self, d): | |
134 | items = [_string_escape(":".join(t)) for t in d.iteritems()] |
|
134 | # keys must be sorted to produce a deterministic changelog entry | |
|
135 | items = [_string_escape('%s:%s' % (k, d[k])) for k in sorted(d)] | |||
135 | return "\0".join(items) |
|
136 | return "\0".join(items) | |
136 |
|
137 | |||
137 | def extract(self, text): |
|
138 | def extract(self, text): |
General Comments 0
You need to be logged in to leave comments.
Login now