mercurial/obsolete.py
changeset 33719 388901a15bfa
parent 33670 e5f8c7baa729
child 33732 32d4f815c4f4
--- a/mercurial/obsolete.py	Mon Jul 24 23:56:17 2017 -0400
+++ b/mercurial/obsolete.py	Mon Jul 24 10:37:39 2017 -0400
@@ -583,7 +583,7 @@
 
         metadata = tuple(sorted(metadata.iteritems()))
 
-        marker = (str(prec), tuple(succs), int(flag), metadata, date, parents)
+        marker = (bytes(prec), tuple(succs), int(flag), metadata, date, parents)
         return bool(self.add(transaction, [marker]))
 
     def add(self, transaction, markers):