mercurial/util.py
changeset 4193 dd0d9bd91e0a
parent 4192 9814d600011e
child 4195 e8ee8fdeddb1
--- a/mercurial/util.py	Sat Mar 10 23:00:53 2007 -0300
+++ b/mercurial/util.py	Sat Mar 10 23:00:54 2007 -0300
@@ -509,8 +509,7 @@
         excmatch = matchfn(exckinds, '(?:/|$)')
 
     return (roots,
-            lambda fn: (incmatch(fn) and not excmatch(fn) and
-                        (fn.endswith('/') or patmatch(fn))),
+            lambda fn: (incmatch(fn) and not excmatch(fn) and patmatch(fn)),
             (inc or exc or anypats) and True)
 
 def system(cmd, environ={}, cwd=None, onerr=None, errprefix=None):