equal
deleted
inserted
replaced
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_ |