Only walk over files that match our criteria.
authorBryan O'Sullivan <bos@serpentine.com>
Wed, 20 Jul 2005 02:57:20 -0800
changeset 730 d2dc7663d512
parent 729 626aa658e2a9
child 731 91ca3afab8e8
Only walk over files that match our criteria.
mercurial/hg.py
--- a/mercurial/hg.py	Wed Jul 20 02:48:16 2005 -0800
+++ b/mercurial/hg.py	Wed Jul 20 02:57:20 2005 -0800
@@ -478,7 +478,7 @@
             else:
                 if match(fn): unknown.append(fn)
 
-        return (lookup, changed, added, dc.keys(), unknown)
+        return (lookup, changed, added, filter(match, dc.keys()), unknown)
 
 # used to avoid circular references so destructors work
 def opener(base):