changeset 14153 | f8047a059ca0 |
parent 14098 | 9f5a0acb0056 |
child 14650 | 93731b3efd0d |
--- a/tests/test-revset.t Sun May 01 17:35:05 2011 +0200 +++ b/tests/test-revset.t Sun May 01 17:35:05 2011 +0200 @@ -435,3 +435,11 @@ ('func', ('symbol', 'reverse'), ('func', ('symbol', 'sort'), ('list', ('or', ('symbol', '2'), ('symbol', '3')), ('symbol', 'date')))) 3 2 + +issue2549 - correct optimizations + + $ log 'limit(1 or 2 or 3, 2) and not 2' + 1 + $ log 'max(1 or 2) and not 2' + $ log 'min(1 or 2) and not 1' + $ log 'last(1 or 2, 1) and not 2'