mercurial/revset.py
changeset 22828 966860f7a1a8
parent 22827 c1107cb21df2
child 22829 36e09c25f870
--- a/mercurial/revset.py	Fri Oct 03 03:26:18 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 03:31:05 2014 -0500
@@ -2411,13 +2411,13 @@
         """Returns True if the collection is ascending order, False if not.
 
         This is part of the mandatory API for smartset."""
-        return False
+        return self._ascending is not None and self._ascending
 
     def isdescending(self):
         """Returns True if the collection is descending order, False if not.
 
         This is part of the mandatory API for smartset."""
-        return False
+        return self._ascending is not None and not self._ascending
 
     def first(self):
         if self: