hgext/mq.py
changeset 4576 eb3b7dd1e158
parent 4569 eb403f295ff1
child 4614 3a645af7fb76
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1057,9 +1057,11 @@ class queue:
             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.