equal
deleted
inserted
replaced
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(): |