mercurial/match.py
changeset 25250 f9a29dc964a3
parent 25239 714f612f2afc
child 25283 19d0e5efa6ca
--- a/mercurial/match.py	Thu May 21 16:20:34 2015 -0400
+++ b/mercurial/match.py	Fri May 22 14:39:34 2015 -0700
@@ -197,7 +197,7 @@
         parentdirs = None
         if (self._includeroots and dir not in self._includeroots and
                 dir not in self._includedirs):
-            parentdirs = util.finddirs(dir)
+            parentdirs = list(util.finddirs(dir))
             if not any(parent in self._includeroots for parent in parentdirs):
                 return False
         return (not self._fileroots or '.' in self._fileroots or