changeset 22715:557749fea14a

spanset: remove ascending/descending implementation We can rely on their implementation in abstractsmartset.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 02 Oct 2014 18:35:56 -0500
parents a729b91c58df
children 6877ba8d85ff
files mercurial/revset.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Thu Oct 02 18:35:00 2014 -0500
+++ b/mercurial/revset.py	Thu Oct 02 18:35:56 2014 -0500
@@ -2854,14 +2854,6 @@
             self._end = len(repo)
         self._hiddenrevs = repo.changelog.filteredrevs
 
-    def ascending(self):
-        if not self.isascending():
-            self.reverse()
-
-    def descending(self):
-        if not self.isdescending():
-            self.reverse()
-
     def __iter__(self):
         if self.isascending():
             iterrange = xrange(self._start, self._end)