filteredset: use base implementation for __sub__
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 01:24:30 -0500
changeset 22732 52c81f2963fc
parent 22731 22c669f3a7f9
child 22733 3037cad75cf8
filteredset: use base implementation for __sub__
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)