Mercurial > hg-stable
changeset 4578:eb3b7dd1e158
mq: reduce matcher abuse
The match function should match only the files we're interested in.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 13 Jun 2007 21:39:45 -0300 |
parents | b36d8cd1d8ff |
children | e7d4ed543de5 |
files | hgext/mq.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Wed Jun 13 19:15:58 2007 -0300 +++ b/hgext/mq.py Wed Jun 13 21:39:45 2007 -0300 @@ -1057,9 +1057,11 @@ aaa = aa[:] if opts.get('short'): filelist = mm + aa + dd + match = dict.fromkeys(filelist).__contains__ else: filelist = None - m, a, r, d, u = repo.status(files=filelist)[:5] + match = util.always + m, a, r, d, u = repo.status(files=filelist, match=match)[:5] # we might end up with files that were added between tip and # the dirstate parent, but then changed in the local dirstate.