mercurial/scmutil.py
changeset 34350 255c761a52db
parent 34334 4647e0a8d3d7
child 34368 f61f5af5ed31
--- a/mercurial/scmutil.py	Fri Sep 29 14:23:41 2017 -0700
+++ b/mercurial/scmutil.py	Fri Sep 29 14:19:36 2017 -0700
@@ -760,8 +760,8 @@
 
     ctx = repo[None]
     dirstate = repo.dirstate
-    walkresults = dirstate.walk(matcher, sorted(ctx.substate), True, False,
-                                full=False)
+    walkresults = dirstate.walk(matcher, subrepos=sorted(ctx.substate),
+                                unknown=True, ignored=False, full=False)
     for abs, st in walkresults.iteritems():
         dstate = dirstate[abs]
         if dstate == '?' and audit_path.check(abs):