changeset 32363:a275186b989a

debugcommands: use repo[None].walk instead of repo.walk
author Augie Fackler <augie@google.com>
date Thu, 18 May 2017 18:01:01 -0400
parents 7b3c27af90c2
children 7cd1fa9dfd74
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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