mercurial/context.py
changeset 34343 255c761a52db
parent 34131 0fa781320203
child 34344 ac0cd81e2f83
--- a/mercurial/context.py	Fri Sep 29 14:23:41 2017 -0700
+++ b/mercurial/context.py	Fri Sep 29 14:19:36 2017 -0700
@@ -1478,8 +1478,9 @@
 
     def walk(self, match):
         '''Generates matching file names.'''
-        return sorted(self._repo.dirstate.walk(match, sorted(self.substate),
-                                               True, False))
+        return sorted(self._repo.dirstate.walk(match,
+                                               subrepos=sorted(self.substate),
+                                               unknown=True, ignored=False))
 
     def matches(self, match):
         return sorted(self._repo.dirstate.matches(match))