baseset: remove ascending/descending redefinition
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 02 Oct 2014 18:35:00 -0500
changeset 22714 a729b91c58df
parent 22713 f5f51872883d
child 22715 557749fea14a
baseset: remove ascending/descending redefinition We can rely on the abstractsmartset implementation.
mercurial/revset.py
--- a/mercurial/revset.py	Thu Oct 02 18:34:18 2014 -0500
+++ b/mercurial/revset.py	Thu Oct 02 18:35:00 2014 -0500
@@ -2291,18 +2291,6 @@
         super(baseset, self).__init__(data)
         self._set = None
 
-    def ascending(self):
-        """Sorts the set in ascending order (in place).
-
-        This is part of the mandatory API for smartset."""
-        self.sort()
-
-    def descending(self):
-        """Sorts the set in descending order (in place).
-
-        This is part of the mandatory API for smartset."""
-        self.sort(reverse=True)
-
     def min(self):
         return min(self)