mercurial/debugcommands.py
changeset 43136 ba5b062a1388
parent 43117 8ff1ecfadcd1
child 43238 101ae8bbfa02
equal deleted inserted replaced
43135:6e3dc1eff5c7 43136:ba5b062a1388
  3234         repo.setparents(node1, node2)
  3234         repo.setparents(node1, node2)
  3235 
  3235 
  3236 
  3236 
  3237 @command(b'debugsidedata', cmdutil.debugrevlogopts, _(b'-c|-m|FILE REV'))
  3237 @command(b'debugsidedata', cmdutil.debugrevlogopts, _(b'-c|-m|FILE REV'))
  3238 def debugsidedata(ui, repo, file_, rev=None, **opts):
  3238 def debugsidedata(ui, repo, file_, rev=None, **opts):
  3239     """dump the side data for a cl/manifest/file revision"""
  3239     """dump the side data for a cl/manifest/file revision
       
  3240 
       
  3241     Use --verbose to dump the sidedata content."""
  3240     opts = pycompat.byteskwargs(opts)
  3242     opts = pycompat.byteskwargs(opts)
  3241     if opts.get(b'changelog') or opts.get(b'manifest') or opts.get(b'dir'):
  3243     if opts.get(b'changelog') or opts.get(b'manifest') or opts.get(b'dir'):
  3242         if rev is not None:
  3244         if rev is not None:
  3243             raise error.CommandError(b'debugdata', _(b'invalid arguments'))
  3245             raise error.CommandError(b'debugdata', _(b'invalid arguments'))
  3244         file_, rev = None, file_
  3246         file_, rev = None, file_