revancestors: replace `descending` with `sort(reverse=False)`
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 07 Oct 2014 01:48:34 -0700
changeset 22832 2f1d2a42f040
parent 22831 acf2ed431ce6
child 22833 6f4109aa6877
revancestors: replace `descending` with `sort(reverse=False)`
mercurial/revset.py
--- 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()