changeset 44710 | eca82eb9d777 |
parent 42893 | 34a46d48d24e |
child 44810 | 62435a5b46fe |
--- a/tests/test-revset.t Fri Apr 10 22:22:09 2020 +0800 +++ b/tests/test-revset.t Fri Apr 10 22:23:44 2020 +0800 @@ -1274,6 +1274,36 @@ 5 7 +test ancestors/descendants relation: + + $ log 'tip#generations' + 0 + 1 + 2 + 4 + 8 + 9 + + $ log '3#g' + 0 + 1 + 3 + 5 + 6 + 7 + + $ hg debugrevspec -p parsed 'tip#g' + * parsed: + (relation + (symbol 'tip') + (symbol 'g')) + 0 + 1 + 2 + 4 + 8 + 9 + test ancestors/descendants relation subscript: $ log 'tip#generations[0]'