mercurial/commands.py
changeset 6578 f242d3684f83
parent 6570 626cb86a6523
child 6579 0159b7a36184
--- a/mercurial/commands.py	Mon May 12 11:37:07 2008 -0500
+++ b/mercurial/commands.py	Mon May 12 11:37:07 2008 -0500
@@ -32,7 +32,7 @@
     exacts = {}
     names = []
     for src, abs, rel, exact in cmdutil.walk(repo, pats, opts,
-                                             badmatch=util.always):
+                                             badmatch=lambda x,y: True):
         if exact:
             if ui.verbose:
                 ui.status(_('adding %s\n') % rel)
@@ -1696,7 +1696,7 @@
 
     ret = 1
     for src, abs, rel, exact in cmdutil.walk(repo, pats, opts, node=node,
-                                             badmatch=util.always,
+                                             badmatch=lambda x,y: True,
                                              default='relglob'):
         if src == 'b':
             continue