changeset 22732:52c81f2963fc

filteredset: use base implementation for __sub__
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 01:24:30 -0500
parents 22c669f3a7f9
children 3037cad75cf8
files mercurial/revset.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)