Show More
@@ -1070,11 +1070,24 test common ancestors | |||
|
1070 | 1070 | 4 |
|
1071 | 1071 | 8 |
|
1072 | 1072 | |
|
1073 | test the specialized implementation of heads(commonancestors(..)) | |
|
1074 | (2 gcas is tested in test-merge-criss-cross.t) | |
|
1075 | ||
|
1076 | $ hg log -T '{rev}\n' -r 'heads(commonancestors(7 + 9))' | |
|
1077 | 4 | |
|
1078 | $ hg log -T '{rev}\n' -r 'heads(commonancestors(heads(all())))' | |
|
1079 | 4 | |
|
1080 | $ hg log -T '{rev}\n' -r 'heads(commonancestors(9))' | |
|
1081 | 9 | |
|
1082 | $ hg log -T '{rev}\n' -r 'heads(commonancestors(8 + 9))' | |
|
1083 | 9 | |
|
1084 | ||
|
1073 | 1085 | test ancestor variants of empty revision |
|
1074 | 1086 | |
|
1075 | 1087 | $ log 'ancestor(none())' |
|
1076 | 1088 | $ log 'ancestors(none())' |
|
1077 | 1089 | $ log 'commonancestors(none())' |
|
1090 | $ log 'heads(commonancestors(none()))' | |
|
1078 | 1091 | |
|
1079 | 1092 | test ancestors with depth limit |
|
1080 | 1093 |
General Comments 0
You need to be logged in to leave comments.
Login now