diff mercurial/commands.py @ 1413:1c64c628d15f

Do not use 'glob' expansion by default on OS != 'nt'
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 19 Oct 2005 00:02:41 -0700
parents 6fd6527f95eb
children c6e6ca96a033
line wrap: on
line diff
--- 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=''):