diff -r dbc40381620e -r f0a3e87c810d mercurial/util.py --- 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, '(?:/|$)')