Show More
@@ -460,6 +460,61 b' ancestor can accept 0 or more arguments' | |||||
460 | $ log 'tag(tip)' |
|
460 | $ log 'tag(tip)' | |
461 | 9 |
|
461 | 9 | |
462 |
|
462 | |||
|
463 | test sort revset | |||
|
464 | -------------------------------------------- | |||
|
465 | ||||
|
466 | test when adding two unordered revsets | |||
|
467 | ||||
|
468 | $ log 'sort(keyword(issue) or modifies(b))' | |||
|
469 | 4 | |||
|
470 | 6 | |||
|
471 | ||||
|
472 | test when sorting a reversed collection in the same way it is | |||
|
473 | ||||
|
474 | $ log 'sort(reverse(all()), -rev)' | |||
|
475 | 9 | |||
|
476 | 8 | |||
|
477 | 7 | |||
|
478 | 6 | |||
|
479 | 5 | |||
|
480 | 4 | |||
|
481 | 3 | |||
|
482 | 2 | |||
|
483 | 1 | |||
|
484 | 0 | |||
|
485 | ||||
|
486 | ||||
|
487 | test when sorting a reversed collection | |||
|
488 | ||||
|
489 | $ log 'sort(reverse(all()), rev)' | |||
|
490 | 0 | |||
|
491 | 1 | |||
|
492 | 2 | |||
|
493 | 3 | |||
|
494 | 4 | |||
|
495 | 5 | |||
|
496 | 6 | |||
|
497 | 7 | |||
|
498 | 8 | |||
|
499 | 9 | |||
|
500 | ||||
|
501 | ||||
|
502 | test sorting two sorted collections in different orders | |||
|
503 | ||||
|
504 | $ log 'sort(outgoing() or reverse(removes(a)), rev)' | |||
|
505 | 2 | |||
|
506 | 6 | |||
|
507 | 8 | |||
|
508 | 9 | |||
|
509 | ||||
|
510 | test sorting two sorted collections in different orders backwards | |||
|
511 | ||||
|
512 | $ log 'sort(outgoing() or reverse(removes(a)), -rev)' | |||
|
513 | 9 | |||
|
514 | 8 | |||
|
515 | 6 | |||
|
516 | 2 | |||
|
517 | ||||
463 | check that conversion to _missingancestors works |
|
518 | check that conversion to _missingancestors works | |
464 | $ try --optimize '::3 - ::1' |
|
519 | $ try --optimize '::3 - ::1' | |
465 | (minus |
|
520 | (minus |
General Comments 0
You need to be logged in to leave comments.
Login now