diff -r c8afe69cc54f -r b67e24f02205 mercurial/revset.py --- a/mercurial/revset.py Fri Oct 10 11:27:57 2014 -0700 +++ b/mercurial/revset.py Fri Oct 10 13:07:35 2014 -0700 @@ -2330,17 +2330,6 @@ def fastdesc(self): return reversed(self._asclist) - 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.""" - if not self._set: - self._set = set(self) - return self._set - @util.propertycache def __contains__(self): return self._set.__contains__