Mercurial > hg-stable
changeset 13535:0d3cce1de233
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 04 Mar 2011 19:21:36 -0600 |
parents | b4f5f76386f2 (current diff) 4ec34de8bbb1 (diff) |
children | fac040b7e822 |
files | |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Fri Feb 18 01:19:01 2011 +0100 +++ b/mercurial/cmdutil.py Fri Mar 04 19:21:36 2011 -0600 @@ -261,6 +261,8 @@ return ret def match(repo, pats=[], opts={}, globbed=False, default='relpath'): + if pats == ("",): + pats = [] if not globbed and default == 'relpath': pats = expandpats(pats or []) m = matchmod.match(repo.root, repo.getcwd(), pats,