Mercurial > hg
changeset 22886:c8afe69cc54f
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...
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 10 Oct 2014 11:27:57 -0700 |
parents | e02b16f496f2 |
children | b67e24f02205 |
files | mercurial/revset.py |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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()