Skip to content
Snippets Groups Projects
Commit 388901a1 authored by Augie Fackler's avatar Augie Fackler
Browse files

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
parent fa9f7b5d
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment