abstractsmartset: remove `set()` method definition
Now that all usages have been removed, we can drop this not so useful part of
the API. We can note that the name was wrong all along...
--- a/mercurial/revset.py Fri Oct 10 14:27:05 2014 -0700
+++ b/mercurial/revset.py Fri Oct 10 11:27:57 2014 -0700
@@ -2207,15 +2207,6 @@
"""provide fast membership testing"""
raise NotImplementedError()
- def __set__(self):
- """Returns a set or a smartset containing all the elements.
-
- The returned structure should be the fastest option for membership
- testing.
-
- This is part of the mandatory API for smartset."""
- raise NotImplementedError()
-
def __iter__(self):
"""iterate the set in the order it is supposed to be iterated"""
raise NotImplementedError()