Show More
@@ -289,7 +289,7 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, data |
|
292 | def _debugobsmarkers(ui, data, indent=0, **opts): | |
293 | """display version and markers contained in 'data'""" |
|
293 | """display version and markers contained in 'data'""" | |
294 | indent_string = ' ' * indent |
|
294 | indent_string = ' ' * indent | |
295 | try: |
|
295 | try: | |
@@ -325,7 +325,7 b' def _debugbundle2(ui, gen, all=None, **o' | |||||
325 | cg = changegroup.getunbundler(version, part, 'UN') |
|
325 | cg = changegroup.getunbundler(version, part, 'UN') | |
326 | _debugchangegroup(ui, cg, all=all, indent=4, **opts) |
|
326 | _debugchangegroup(ui, cg, all=all, indent=4, **opts) | |
327 | if part.type == 'obsmarkers': |
|
327 | if part.type == 'obsmarkers': | |
328 |
_debugobsmarkers(ui, part.read(), |
|
328 | _debugobsmarkers(ui, part.read(), indent=4, **opts) | |
329 |
|
329 | |||
330 | @command('debugbundle', |
|
330 | @command('debugbundle', | |
331 | [('a', 'all', None, _('show all details')), |
|
331 | [('a', 'all', None, _('show all details')), |
General Comments 0
You need to be logged in to leave comments.
Login now