debugcommands: use repo[None].walk instead of repo.walk
authorAugie Fackler <augie@google.com>
Thu, 18 May 2017 18:01:01 -0400
changeset 32363 a275186b989a
parent 32362 7b3c27af90c2
child 32364 7cd1fa9dfd74
debugcommands: use repo[None].walk instead of repo.walk
mercurial/debugcommands.py
--- a/mercurial/debugcommands.py	Thu May 18 18:00:52 2017 -0400
+++ b/mercurial/debugcommands.py	Thu May 18 18:01:01 2017 -0400
@@ -2168,7 +2168,7 @@
 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