Mercurial > hg
comparison tests/test-revset.t @ 20393:b0638b5b004d
revset: fixed bug where revset returning order was being changed
Some revsets were innecesarily turning the subset into a set before iterating
over it. This led to returning order changing in some cases.
author | Lucas Moscovicz <lmoscovicz@fb.com> |
---|---|
date | Fri, 07 Feb 2014 15:01:33 -0800 |
parents | b61ad01c4e73 |
children | 2efd608473fb |
comparison
equal
deleted
inserted
replaced
20392:d4f804caa0ed | 20393:b0638b5b004d |
---|---|
412 4 | 412 4 |
413 3 | 413 3 |
414 2 | 414 2 |
415 1 | 415 1 |
416 0 | 416 0 |
417 $ log '1:: and reverse(all())' | |
418 9 | |
419 8 | |
420 7 | |
421 6 | |
422 5 | |
423 4 | |
424 3 | |
425 2 | |
426 1 | |
417 $ log 'rev(5)' | 427 $ log 'rev(5)' |
418 5 | 428 5 |
419 $ log 'sort(limit(reverse(all()), 3))' | 429 $ log 'sort(limit(reverse(all()), 3))' |
420 7 | 430 7 |
421 8 | 431 8 |