Mercurial > public > mercurial-scm > hg
diff hgext/mq.py @ 6599:cd4db3999ef9
status: use match helpers for various users
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 May 2008 11:37:08 -0500 |
parents | 5acbdd3941c4 |
children | cab3ad865444 |
line wrap: on
line diff
--- a/hgext/mq.py Mon May 12 11:37:08 2008 -0500 +++ b/hgext/mq.py Mon May 12 11:37:08 2008 -0500 @@ -1045,12 +1045,10 @@ man = repo.manifest.read(changes[0]) aaa = aa[:] if opts.get('short'): - filelist = mm + aa + dd - match = dict.fromkeys(filelist).__contains__ + match = cmdutil.matchfiles(repo, mm + aa + dd) else: - filelist = None - match = util.always - m, a, r, d, u = repo.status(files=filelist, match=match)[:5] + match = cmdutil.matchall(repo) + m, a, r, d, u = repo.status(files=match.files(), match=match)[:5] # we might end up with files that were added between # tip and the dirstate parent, but then changed in the