mercurial/util.py
changeset 7430 f0a3e87c810d
parent 7414 040484030491
child 7461 2a67430f92f1
--- a/mercurial/util.py	Thu Nov 27 00:57:31 2008 +0100
+++ b/mercurial/util.py	Thu Nov 27 00:57:32 2008 +0100
@@ -607,7 +607,7 @@
     if inc:
         dummy, inckinds, dummy = normalizepats(inc, 'glob')
         incmatch = matchfn(inckinds, '(?:/|$)')
-    excmatch = lambda fn: False
+    excmatch = never
     if exc:
         dummy, exckinds, dummy = normalizepats(exc, 'glob')
         excmatch = matchfn(exckinds, '(?:/|$)')