# HG changeset patch # User Pierre-Yves David # Date 2014-10-07 08:46:53 # Node ID 8376d76f77ddf4cdfb1baf2f7a669aa72d839843 # Parent 9e316ea0bf529afc813fbbefb7a3a700fdf2659b smartset: drop infamous ascending, descending All your friends are dead. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -2228,22 +2228,10 @@ class abstractsmartset(object): """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: