baseset: remove min/max methods
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 02 Oct 2014 19:02:50 -0500
changeset 22723 d4706faa2061
parent 22722 e8832cf1abf6
child 22724 abdb46cf3b38
baseset: remove min/max methods This is now handled by the base class.
mercurial/revset.py
--- a/mercurial/revset.py	Thu Oct 02 18:59:41 2014 -0500
+++ b/mercurial/revset.py	Thu Oct 02 19:02:50 2014 -0500
@@ -2307,12 +2307,6 @@
         super(baseset, self).__init__(data)
         self._set = None
 
-    def min(self):
-        return min(self)
-
-    def max(self):
-        return max(self)
-
     def set(self):
         """Returns a set or a smartset containing all the elements.