diff tests/test-revset.t @ 23826:c90d195320c5 stable

revset: fix spanset.isascending() to honor sort() or reverse() request Because spanset.isascending() ignored the ascending flag, the result of "fullreposet() & x" was always sorted in ascending order. The test case is carefully chosen to call fullreposet.__and__.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 10 Jan 2015 21:31:59 +0900
parents ba89f7b542c9
children 9b1d3bac61a7
line wrap: on
line diff
--- a/tests/test-revset.t	Mon Jan 05 22:18:55 2015 -0800
+++ b/tests/test-revset.t	Sat Jan 10 21:31:59 2015 +0900
@@ -496,6 +496,9 @@
   2
   1
   0
+  $ log 'reverse(all()) & filelog(b)'
+  4
+  1
   $ log 'rev(5)'
   5
   $ log 'sort(limit(reverse(all()), 3))'