Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 6576:69f3e9ac7c56
walk: introduce match objects
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 May 2008 11:37:07 -0500 |
parents | 4927cf61bdc1 |
children | 569761919450 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon May 12 11:37:07 2008 -0500 +++ b/mercurial/localrepo.py Mon May 12 11:37:07 2008 -0500 @@ -786,7 +786,7 @@ update_dirstate = True if (not force and p2 != nullid and - (files or match != util.always)): + (match.files() or match.anypats())): raise util.Abort(_('cannot partially commit a merge ' '(do not specify files or patterns)')) else: