Mercurial > hg
comparison tests/test-revset.t @ 39805:823f34acfd46 stable
revset: make heads(commonancestors(x + x^)) be x^, not x
Differential Revision: https://phab.mercurial-scm.org/D4742
author | Valentin Gatien-Baron <vgatien-baron@janestreet.com> |
---|---|
date | Tue, 25 Sep 2018 16:32:38 -0400 |
parents | 84c61c1593c4 |
children | 85a474adaf26 |
comparison
equal
deleted
inserted
replaced
39804:84c61c1593c4 | 39805:823f34acfd46 |
---|---|
1078 $ hg log -T '{rev}\n' -r 'heads(commonancestors(heads(all())))' | 1078 $ hg log -T '{rev}\n' -r 'heads(commonancestors(heads(all())))' |
1079 4 | 1079 4 |
1080 $ hg log -T '{rev}\n' -r 'heads(commonancestors(9))' | 1080 $ hg log -T '{rev}\n' -r 'heads(commonancestors(9))' |
1081 9 | 1081 9 |
1082 $ hg log -T '{rev}\n' -r 'heads(commonancestors(8 + 9))' | 1082 $ hg log -T '{rev}\n' -r 'heads(commonancestors(8 + 9))' |
1083 9 | 1083 8 |
1084 | 1084 |
1085 test ancestor variants of empty revision | 1085 test ancestor variants of empty revision |
1086 | 1086 |
1087 $ log 'ancestor(none())' | 1087 $ log 'ancestor(none())' |
1088 $ log 'ancestors(none())' | 1088 $ log 'ancestors(none())' |