##// END OF EJS Templates
debugwalk: migrate `opts` to native kwargs
Matt Harbison -
r51864:e032f47f default
parent child Browse files
Show More
@@ -4166,8 +4166,7 b' def debugupgraderepo(ui, repo, run=False'
4166 4166 )
4167 4167 def debugwalk(ui, repo, *pats, **opts):
4168 4168 """show how files match on given patterns"""
4169 opts = pycompat.byteskwargs(opts)
4170 m = scmutil.match(repo[None], pats, opts)
4169 m = scmutil.match(repo[None], pats, pycompat.byteskwargs(opts))
4171 4170 if ui.verbose:
4172 4171 ui.writenoi18n(b'* matcher:\n', stringutil.prettyrepr(m), b'\n')
4173 4172 items = list(repo[None].walk(m))
General Comments 0
You need to be logged in to leave comments. Login now