mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
merge with stable
This commit is contained in:
commit
d829c30933
@ -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:
|
||||
|
@ -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))'
|
||||
|
Loading…
Reference in New Issue
Block a user