Commit e699cebc authored by Manuel Jacob's avatar Manuel Jacob
Browse files

convert: use bytes for value in extra dict

The keys and values of the extra dict are expected to be bytes. Before this
fix, there was a crash in mercurial.changelog.encodeextra().
parent 2c0043977b6d
Pipeline #7957 failed with stage
in 34 minutes and 57 seconds
......@@ -337,7 +337,7 @@
extra = {}
certs = self.mtngetcerts(rev)
if certs.get(b'suspend') == certs[b"branch"]:
extra[b'close'] = 1
extra[b'close'] = b'1'
dateformat = b"%Y-%m-%dT%H:%M:%S"
return common.commit(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment