changeset 22832:2f1d2a42f040

revancestors: replace `descending` with `sort(reverse=False)`
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 07 Oct 2014 01:48:34 -0700
parents acf2ed431ce6
children 6f4109aa6877
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Tue Oct 07 01:41:02 2014 -0700
+++ b/mercurial/revset.py	Tue Oct 07 01:48:34 2014 -0700
@@ -26,7 +26,7 @@
         revqueue, revsnode = None, None
         h = []
 
-        revs.descending()
+        revs.sort(reverse=True)
         revqueue = util.deque(revs)
         if revqueue:
             revsnode = revqueue.popleft()