changeset 22887:b67e24f02205

baseset: remove `set()` definition All my friends are dead.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 10 Oct 2014 13:07:35 -0700
parents c8afe69cc54f
children ca7a3f398637
files mercurial/revset.py
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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__