mercurial/minifileset.py
changeset 38828 3ea6ce609747
parent 38827 48fc2a8af345
child 38829 7e7e2b2ff284
--- a/mercurial/minifileset.py	Sat Jul 21 16:13:30 2018 +0900
+++ b/mercurial/minifileset.py	Sat Jul 21 16:16:44 2018 +0900
@@ -65,8 +65,6 @@
         func1 = _compile(tree[1])
         func2 = _compile(tree[2])
         return lambda n, s: func1(n, s) and not func2(n, s)
-    elif op == 'negate':
-        raise error.ParseError(_("can't use negate operator in this context"))
     elif op == 'list':
         raise error.ParseError(_("can't use a list in this context"),
                                hint=_('see \'hg help "filesets.x or y"\''))