##// END OF EJS Templates
debugp2copies: migrate `opts` to native kwargs
Matt Harbison -
r51853:1e2be2c9 default
parent child Browse files
Show More
@@ -2840,8 +2840,7 b' def debugp1copies(ui, repo, **opts):'
2840 def debugp2copies(ui, repo, **opts):
2840 def debugp2copies(ui, repo, **opts):
2841 """dump copy information compared to p2"""
2841 """dump copy information compared to p2"""
2842
2842
2843 opts = pycompat.byteskwargs(opts)
2843 ctx = scmutil.revsingle(repo, opts.get('rev'), default=None)
2844 ctx = scmutil.revsingle(repo, opts.get(b'rev'), default=None)
2845 for dst, src in ctx.p2copies().items():
2844 for dst, src in ctx.p2copies().items():
2846 ui.write(b'%s -> %s\n' % (src, dst))
2845 ui.write(b'%s -> %s\n' % (src, dst))
2847
2846
General Comments 0
You need to be logged in to leave comments. Login now