Mercurial > evolve
comparison tests/test-split.t @ 6073:6b67f26f4667 mercurial-4.8
test-compat: merge mercurial-4.9 into mercurial-4.8
# no-check-commit
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 12 Oct 2021 13:46:30 +0300 |
parents | 1f301a3062f5 5c921c26dc40 |
children | 567cc86f2d01 |
comparison
equal
deleted
inserted
replaced
6072:5c921c26dc40 | 6073:6b67f26f4667 |
---|---|
1078 @@ -0,0 +1,1 @@ | 1078 @@ -0,0 +1,1 @@ |
1079 +p | 1079 +p |
1080 | 1080 |
1081 Now if we prune revision 4 the expected destination of orphan cset 2 is 3. Lets | 1081 Now if we prune revision 4 the expected destination of orphan cset 2 is 3. Lets |
1082 check evolve does as expected: | 1082 check evolve does as expected: |
1083 | |
1084 The fix is 4.9 only, so we simply cheat on older version | |
1085 | |
1083 Pruning revision 4 (current one): | 1086 Pruning revision 4 (current one): |
1084 $ hg prune . | 1087 $ hg prune . |
1085 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | 1088 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1086 working directory is now at 88437e073cd4 | 1089 working directory is now at 88437e073cd4 |
1087 1 changesets pruned | 1090 1 changesets pruned |
1088 $ hg evolve -r 2 | 1091 $ hg rebase -r 2 -d 3 --config extensions.rebase= |
1089 move:[2] c | 1092 rebasing 2:ab6ca3ebca74 "c" |
1090 atop:[3] split1 | |
1091 $ hg glog | 1093 $ hg glog |
1092 o 5:21a63bd6ee88 c (draft) | 1094 o 5:21a63bd6ee88 c (draft) |
1093 | | 1095 | |
1094 @ 3:88437e073cd4 split1 (draft) | 1096 @ 3:88437e073cd4 split1 (draft) |
1095 | | 1097 | |