343 continue |
343 continue |
344 ui.write('%s -- %s\n' % (part.type, _quasirepr(part.params))) |
344 ui.write('%s -- %s\n' % (part.type, _quasirepr(part.params))) |
345 if part.type == 'changegroup': |
345 if part.type == 'changegroup': |
346 version = part.params.get('version', '01') |
346 version = part.params.get('version', '01') |
347 cg = changegroup.getunbundler(version, part, 'UN') |
347 cg = changegroup.getunbundler(version, part, 'UN') |
348 _debugchangegroup(ui, cg, all=all, indent=4, **opts) |
348 if not ui.quiet: |
|
349 _debugchangegroup(ui, cg, all=all, indent=4, **opts) |
349 if part.type == 'obsmarkers': |
350 if part.type == 'obsmarkers': |
350 _debugobsmarkers(ui, part, indent=4, **opts) |
351 if not ui.quiet: |
|
352 _debugobsmarkers(ui, part, indent=4, **opts) |
351 if part.type == 'phase-heads': |
353 if part.type == 'phase-heads': |
352 _debugphaseheads(ui, part, indent=4) |
354 if not ui.quiet: |
|
355 _debugphaseheads(ui, part, indent=4) |
353 |
356 |
354 @command('debugbundle', |
357 @command('debugbundle', |
355 [('a', 'all', None, _('show all details')), |
358 [('a', 'all', None, _('show all details')), |
356 ('', 'part-type', [], _('show only the named part type')), |
359 ('', 'part-type', [], _('show only the named part type')), |
357 ('', 'spec', None, _('print the bundlespec of the bundle'))], |
360 ('', 'spec', None, _('print the bundlespec of the bundle'))], |