# HG changeset patch # User Pierre-Yves David # Date 1412965677 25200 # Node ID c8afe69cc54fe8fba975bfb606ee9d5e86204b25 # Parent e02b16f496f28193253082aa4d40843a6a83afda 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... diff -r e02b16f496f2 -r c8afe69cc54f mercurial/revset.py --- 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()