Show More
@@ -289,8 +289,9 b' def _debugchangegroup(ui, gen, all=None,' | |||||
289 | ui.write("%s%s\n" % (indent_string, hex(node))) |
|
289 | ui.write("%s%s\n" % (indent_string, hex(node))) | |
290 | chain = node |
|
290 | chain = node | |
291 |
|
291 | |||
292 |
def _debugobsmarkers(ui, |
|
292 | def _debugobsmarkers(ui, part, indent=0, **opts): | |
293 | """display version and markers contained in 'data'""" |
|
293 | """display version and markers contained in 'data'""" | |
|
294 | data = part.read() | |||
294 | indent_string = ' ' * indent |
|
295 | indent_string = ' ' * indent | |
295 | try: |
|
296 | try: | |
296 | version, markers = obsolete._readmarkers(data) |
|
297 | version, markers = obsolete._readmarkers(data) | |
@@ -325,7 +326,7 b' def _debugbundle2(ui, gen, all=None, **o' | |||||
325 | cg = changegroup.getunbundler(version, part, 'UN') |
|
326 | cg = changegroup.getunbundler(version, part, 'UN') | |
326 | _debugchangegroup(ui, cg, all=all, indent=4, **opts) |
|
327 | _debugchangegroup(ui, cg, all=all, indent=4, **opts) | |
327 | if part.type == 'obsmarkers': |
|
328 | if part.type == 'obsmarkers': | |
328 |
_debugobsmarkers(ui, part |
|
329 | _debugobsmarkers(ui, part, indent=4, **opts) | |
329 |
|
330 | |||
330 | @command('debugbundle', |
|
331 | @command('debugbundle', | |
331 | [('a', 'all', None, _('show all details')), |
|
332 | [('a', 'all', None, _('show all details')), |
General Comments 0
You need to be logged in to leave comments.
Login now