hgext3rd/evolve/obshistory.py
changeset 2604 3bcc9d3bac33
parent 2603 23f1c3b9052f
child 2606 02129bed002c
--- a/hgext3rd/evolve/obshistory.py	Fri Jun 16 17:34:02 2017 +0200
+++ b/hgext3rd/evolve/obshistory.py	Fri Jun 16 17:42:28 2017 +0200
@@ -673,9 +673,21 @@
     """ For a successor set, get all related markers, compute the set of user,
     the min date and the max date
     """
-    markers = _successorsetallmarkers(successorset, pathscache)
+    hex = nodemod.hex
+    rawmarkers = _successorsetallmarkers(successorset, pathscache)
+
+    successorset = [hex(n) for n in successorset]
 
-    successorset = [nodemod.hex(n) for n in successorset]
+    # hex the binary nodes in the markers
+    markers = []
+    for m in rawmarkers:
+        hexprec = hex(m[0])
+        hexsucs = tuple(hex(n) for n in m[1])
+        hexparents = None
+        if m[5] is not None:
+            hexparents = tuple(hex(n) for n in m[5])
+        newmarker = (hexprec, hexsucs) + m[2:5] + (hexparents,) + m[6:]
+        markers.append(newmarker)
 
     # Format basic data
     data = {