diff -r 016a90152e9c -r de4a80a2b45c tests/test-revset.t --- a/tests/test-revset.t Fri May 20 01:42:04 2016 +0200 +++ b/tests/test-revset.t Fri Jun 03 21:49:26 2016 +0900 @@ -1566,7 +1566,10 @@ 0 $ log '4::8 - 8' 4 - $ log 'matching(1 or 2 or 3) and (2 or 3 or 1)' + +matching() should preserve the order of the input set: + + $ log '(2 or 3 or 1) and matching(1 or 2 or 3)' 2 3 1