mercurial/debugcommands.py
changeset 49281 223d55086d7c
parent 49253 a321304269cf
child 49284 d44e3c45f0e4
equal deleted inserted replaced
49280:311fcc5a65f6 49281:223d55086d7c
  2804 @command(
  2804 @command(
  2805     b'debugp2copies',
  2805     b'debugp2copies',
  2806     [(b'r', b'rev', b'', _(b'revision to debug'), _(b'REV'))],
  2806     [(b'r', b'rev', b'', _(b'revision to debug'), _(b'REV'))],
  2807     _(b'[-r REV]'),
  2807     _(b'[-r REV]'),
  2808 )
  2808 )
  2809 def debugp1copies(ui, repo, **opts):
  2809 def debugp2copies(ui, repo, **opts):
  2810     """dump copy information compared to p2"""
  2810     """dump copy information compared to p2"""
  2811 
  2811 
  2812     opts = pycompat.byteskwargs(opts)
  2812     opts = pycompat.byteskwargs(opts)
  2813     ctx = scmutil.revsingle(repo, opts.get(b'rev'), default=None)
  2813     ctx = scmutil.revsingle(repo, opts.get(b'rev'), default=None)
  2814     for dst, src in ctx.p2copies().items():
  2814     for dst, src in ctx.p2copies().items():