mercurial/minifileset.py
changeset 38879 e79a69af1593
parent 38865 899b4c74209c
child 43075 57875cf423c9
--- a/mercurial/minifileset.py	Sun Jul 22 11:12:55 2018 +0900
+++ b/mercurial/minifileset.py	Sat Jul 21 20:27:53 2018 +0900
@@ -24,7 +24,9 @@
     if not tree:
         raise error.ParseError(_("missing argument"))
     op = tree[0]
-    if op in {'symbol', 'string', 'kindpat'}:
+    if op == 'withstatus':
+        return _compile(tree[1])
+    elif op in {'symbol', 'string', 'kindpat'}:
         name = filesetlang.getpattern(tree, {'path'}, _('invalid file pattern'))
         if name.startswith('**'): # file extension test, ex. "**.tar.gz"
             ext = name[2:]