diff -r c1e0aebfabc0 -r 1c64c628d15f mercurial/commands.py --- a/mercurial/commands.py Tue Oct 18 23:58:00 2005 -0700 +++ b/mercurial/commands.py Wed Oct 19 00:02:41 2005 -0700 @@ -32,7 +32,7 @@ return args def matchpats(repo, cwd, pats=[], opts={}, head=''): - return util.matcher(repo.root, cwd, pats or ['.'], opts.get('include'), + return util.cmdmatcher(repo.root, cwd, pats or ['.'], opts.get('include'), opts.get('exclude'), head) def makewalk(repo, pats, opts, head=''):