# HG changeset patch # User Augie Fackler # Date 2017-05-18 22:01:01 # Node ID a275186b989a67a440624ac74a39a0b28e4f89cd # Parent 7b3c27af90c2efeea1adc2e603bde353704a3c05 debugcommands: use repo[None].walk instead of repo.walk diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -2168,7 +2168,7 @@ def debugupgraderepo(ui, repo, run=False def debugwalk(ui, repo, *pats, **opts): """show how files match on given patterns""" m = scmutil.match(repo[None], pats, opts) - items = list(repo.walk(m)) + items = list(repo[None].walk(m)) if not items: return f = lambda fn: fn