mercurial/revset.py
changeset 23827 4982fade9733
parent 23822 02f4560b69b7
child 23833 9b1d3bac61a7
--- a/mercurial/revset.py	Tue Jan 13 15:08:55 2015 -0500
+++ b/mercurial/revset.py	Sat Jan 10 21:36:42 2015 +0900
@@ -3102,10 +3102,7 @@
             # object.
             other = baseset(other - self._hiddenrevs)
 
-        if self.isascending():
-            other.sort()
-        else:
-            other.sort(reverse)
+        other.sort(reverse=self.isdescending())
         return other
 
 # tell hggettext to extract docstrings from these functions: