changeset 22737:e03ece039b3a

spanset: use base implementation for __sub__
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 00:31:18 -0500
parents 3439b66f506e
children 70a0664008ea
files mercurial/revset.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Fri Oct 03 00:30:58 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 00:31:18 2014 -0500
@@ -2919,11 +2919,6 @@
             return True
         return False
 
-    def __sub__(self, x):
-        filterfunc = x.__contains__
-        return orderedlazyset(self, lambda r: not filterfunc(r),
-                              ascending=self.isascending())
-
     def __add__(self, x):
         kwargs = {}
         if self.isascending() and x.isascending():