Mercurial > hg
changeset 22714:a729b91c58df
baseset: remove ascending/descending redefinition
We can rely on the abstractsmartset implementation.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 02 Oct 2014 18:35:00 -0500 |
parents | f5f51872883d |
children | 557749fea14a |
files | mercurial/revset.py |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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)