# HG changeset patch # User Matt Harbison # Date 2023-08-21 21:49:57 # Node ID e032f47f51666b2b2a797f7167e824580592196c # Parent f04568add4eeea73e2262e0af73d3833c2a98ac9 debugwalk: migrate `opts` to native kwargs diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -4166,8 +4166,7 @@ def debugupgraderepo(ui, repo, run=False ) 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))