equal
deleted
inserted
replaced
308 fm.end() |
308 fm.end() |
309 |
309 |
310 def _debugphaseheads(ui, data, indent=0): |
310 def _debugphaseheads(ui, data, indent=0): |
311 """display version and markers contained in 'data'""" |
311 """display version and markers contained in 'data'""" |
312 indent_string = ' ' * indent |
312 indent_string = ' ' * indent |
313 headsbyphase = bundle2._readphaseheads(data) |
313 headsbyphase = phases.binarydecode(data) |
314 for phase in phases.allphases: |
314 for phase in phases.allphases: |
315 for head in headsbyphase[phase]: |
315 for head in headsbyphase[phase]: |
316 ui.write(indent_string) |
316 ui.write(indent_string) |
317 ui.write('%s %s\n' % (hex(head), phases.phasenames[phase])) |
317 ui.write('%s %s\n' % (hex(head), phases.phasenames[phase])) |
318 |
318 |