mercurial/debugcommands.py
changeset 34320 12c42bcd4133
parent 34292 311f6ccf8f23
child 34645 75979c8d4572
--- a/mercurial/debugcommands.py	Tue Sep 19 22:01:31 2017 +0200
+++ b/mercurial/debugcommands.py	Tue Sep 19 22:23:41 2017 +0200
@@ -310,7 +310,7 @@
 def _debugphaseheads(ui, data, indent=0):
     """display version and markers contained in 'data'"""
     indent_string = ' ' * indent
-    headsbyphase = bundle2._readphaseheads(data)
+    headsbyphase = phases.binarydecode(data)
     for phase in phases.allphases:
         for head in headsbyphase[phase]:
             ui.write(indent_string)