lazyset: remove min/max
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 02 Oct 2014 19:03:14 -0500
changeset 22724 abdb46cf3b38
parent 22723 d4706faa2061
child 22725 88e5483bfb20
lazyset: remove min/max This is now handled by abstractsmartset.
mercurial/revset.py
--- a/mercurial/revset.py	Thu Oct 02 19:02:50 2014 -0500
+++ b/mercurial/revset.py	Thu Oct 02 19:03:14 2014 -0500
@@ -2418,12 +2418,6 @@
         self._condition = condition
         self._cache = {}
 
-    def min(self):
-        return min(self)
-
-    def max(self):
-        return max(self)
-
     def __contains__(self, x):
         c = self._cache
         if x not in c: