# HG changeset patch # User Lucas Moscovicz # Date 1394583953 25200 # Node ID b0203624ab2088f164a02fad2ba6b7362d046723 # Parent 2115e035da11092d5a276caa7b65606e38dd59f1 revset: extend sorting tests diff -r 2115e035da11 -r b0203624ab20 tests/test-revset.t --- a/tests/test-revset.t Fri Mar 14 13:12:45 2014 -0500 +++ b/tests/test-revset.t Tue Mar 11 17:25:53 2014 -0700 @@ -483,7 +483,6 @@ 1 0 - test when sorting a reversed collection $ log 'sort(reverse(all()), rev)' @@ -515,6 +514,20 @@ 6 2 +test substracting something from an addset + + $ log '(outgoing() or removes(a)) - removes(a)' + 8 + 9 + +test intersecting something with an addset + + $ log 'parents(outgoing() or removes(a))' + 1 + 4 + 5 + 8 + check that conversion to _missingancestors works $ try --optimize '::3 - ::1' (minus