##// END OF EJS Templates
debugrename: migrate `opts` to native kwargs
Matt Harbison -
r51856:7ef74fc7 default
parent child Browse files
Show More
@@ -3183,9 +3183,8 b' def debugrebuildfncache(ui, repo, **opts'
3183 3183 def debugrename(ui, repo, *pats, **opts):
3184 3184 """dump rename information"""
3185 3185
3186 opts = pycompat.byteskwargs(opts)
3187 ctx = scmutil.revsingle(repo, opts.get(b'rev'))
3188 m = scmutil.match(ctx, pats, opts)
3186 ctx = scmutil.revsingle(repo, opts.get('rev'))
3187 m = scmutil.match(ctx, pats, pycompat.byteskwargs(opts))
3189 3188 for abs in ctx.walk(m):
3190 3189 fctx = ctx[abs]
3191 3190 o = fctx.filelog().renamed(fctx.filenode())
General Comments 0
You need to be logged in to leave comments. Login now