# HG changeset patch # User Matt Harbison # Date 1692654597 14400 # Node ID e032f47f51666b2b2a797f7167e824580592196c # Parent f04568add4eeea73e2262e0af73d3833c2a98ac9 debugwalk: migrate `opts` to native kwargs diff -r f04568add4ee -r e032f47f5166 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Mon Aug 21 17:47:52 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 17:49:57 2023 -0400 @@ -4166,8 +4166,7 @@ ) def debugwalk(ui, repo, *pats, **opts): """show how files match on given patterns""" - opts = pycompat.byteskwargs(opts) - m = scmutil.match(repo[None], pats, opts) + m = scmutil.match(repo[None], pats, pycompat.byteskwargs(opts)) if ui.verbose: ui.writenoi18n(b'* matcher:\n', stringutil.prettyrepr(m), b'\n') items = list(repo[None].walk(m))