obsolete: use bytes() instead of str() so the node is bytes on py3
I'm not sure this is right, since this should either be bytes or str
to match what's going on in the revlog layer.
Differential Revision: https://phab.mercurial-scm.org/D271
--- 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):