diff --git a/mercurial/revset.py b/mercurial/revset.py index c1546d7400efcd54fe238b1ffb526f230ef87463_bWVyY3VyaWFsL3JldnNldC5weQ==..88e8a18329d300c56c41e15c25c8aaa9a7d117a2_bWVyY3VyaWFsL3JldnNldC5weQ== 100644 --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -2369,19 +2369,6 @@ def __len__(self): return len(self._list) - def __sub__(self, other): - """Returns a new object with the substraction of the two collections. - - This is part of the mandatory API for smartset.""" - # If we are operating on 2 baseset, do the computation now since all - # data is available. The alternative is to involve a filteredset, which - # may be slow. - if isinstance(other, baseset): - other = other.set() - return baseset([x for x in self if x not in other]) - - return self.filter(lambda x: x not in other) - def isascending(self): """Returns True if the collection is ascending order, False if not.