smartset: drop infamous ascending, descending
All your friends are dead.
--- a/mercurial/revset.py Tue Oct 07 01:41:14 2014 -0700
+++ b/mercurial/revset.py Tue Oct 07 01:46:53 2014 -0700
@@ -2228,22 +2228,10 @@
"""True if the set will iterate in ascending order"""
raise NotImplementedError()
- def ascending(self):
- """Sorts the set in ascending order (in place).
-
- This is part of the mandatory API for smartset."""
- self.sort()
-
def isdescending(self):
"""True if the set will iterate in descending order"""
raise NotImplementedError()
- 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 the minimum element in the set"""
if self.fastasc is not None: