merge with stable

This commit is contained in:
Matt Mackall 2015-01-14 12:50:46 -08:00
commit d829c30933
2 changed files with 5 additions and 2 deletions

View File

@ -3055,10 +3055,10 @@ class _spanset(abstractsmartset):
return abs(self._end - self._start) - count
def isascending(self):
return self._start <= self._end
return self._ascending
def isdescending(self):
return self._start >= self._end
return not self._ascending
def first(self):
if self._ascending:

View File

@ -522,6 +522,9 @@ Test explicit numeric revision
2
1
0
$ log 'reverse(all()) & filelog(b)'
4
1
$ log 'rev(5)'
5
$ log 'sort(limit(reverse(all()), 3))'