--- a/mercurial/util.py Tue Jan 30 18:32:18 2007 -0200
+++ b/mercurial/util.py Tue Jan 30 18:32:20 2007 -0200
@@ -375,8 +375,10 @@
def matcher(canonroot, cwd='', names=['.'], inc=[], exc=[], head='', src=None):
return _matcher(canonroot, cwd, names, inc, exc, head, 'glob', src)
-def cmdmatcher(canonroot, cwd='', names=['.'], inc=[], exc=[], head='', src=None):
- names = expand_glob(names)
+def cmdmatcher(canonroot, cwd='', names=['.'], inc=[], exc=[], head='',
+ src=None, globbed=False):
+ if not globbed:
+ names = expand_glob(names)
return _matcher(canonroot, cwd, names, inc, exc, head, 'relpath', src)
def _matcher(canonroot, cwd, names, inc, exc, head, dflt_pat, src):