revset: remove false condition to process 'negate' operator
'negate' is mapped to 'string' at the above clause.
--- a/mercurial/revset.py Sun Aug 07 15:01:42 2016 +0900
+++ b/mercurial/revset.py Sun Aug 07 14:13:27 2016 +0900
@@ -2371,7 +2371,7 @@
elif op == 'negate':
s = getstring(x[1], _("can't negate that"))
return _optimize(('string', '-' + s), small)
- elif op in 'string symbol negate':
+ elif op in 'string symbol':
return smallbonus, x # single revisions are small
elif op == 'and':
wa, ta = _optimize(x[1], True)