# HG changeset patch # User Pierre-Yves David # Date 1412317470 18000 # Node ID 52c81f2963fc5923c4f169fa9ef9889100e7b715 # Parent 22c669f3a7f953c379f216a515db68a5cbfd7420 filteredset: use base implementation for __sub__ diff -r 22c669f3a7f9 -r 52c81f2963fc mercurial/revset.py --- a/mercurial/revset.py Fri Oct 03 01:23:12 2014 -0500 +++ b/mercurial/revset.py Fri Oct 03 01:24:30 2014 -0500 @@ -2462,9 +2462,6 @@ return None return lambda: self._iterfilter(it()) - def __sub__(self, x): - return filteredset(self, lambda r: r not in x) - def __add__(self, x): return _addset(self, x)