Mercurial > evolve
diff tests/test-prev-next.t @ 6064:28a77df6e41f mercurial-5.7
test-compat: merge mercurial-5.8 into mercurial-5.7
# no-check-commit
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 12 Oct 2021 11:15:44 +0300 |
parents | 6cdea542b6ea b68789e8c535 |
children | c0921b5277a0 0042d69b8648 |
line wrap: on
line diff
--- a/tests/test-prev-next.t Thu Aug 12 22:00:46 2021 +0200 +++ b/tests/test-prev-next.t Tue Oct 12 11:15:44 2021 +0300 @@ -229,7 +229,7 @@ next with ambiguity in aspiring children - $ hg am -m 'added b (3)' + $ hg amend -m 'added b (3)' 2 new orphan changesets $ hg next --no-evolve no children @@ -564,7 +564,7 @@ record this change to 'b'? (enter ? for help) [Ynesfdaq?] y - no more change to split + no more changes to split 1 new orphan changesets $ hg up 3 -q @@ -611,6 +611,49 @@ $ cd .. +hg next --abort + + $ hg init next-abort + $ cd next-abort + + $ echo apple > a + $ hg ci -qAm apple + $ echo banana > b + $ hg ci -qAm banana + $ hg up 0 + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + $ echo blueberry > b + $ hg ci -qAm 'apple and blueberry' --amend + 1 new orphan changesets + + $ hg next + move:[1] banana + atop:[2] apple and blueberry + merging b + warning: conflicts while merging b! (edit, then use 'hg resolve --mark') + unresolved merge conflicts + (see 'hg help evolve.interrupted') + [240] + + $ hg next --abort + next aborted + working directory is now at 1c7f51cf0ef0 + $ hg next --abort + abort: no interrupted next to abort + [255] + $ hg evolve --abort + abort: no interrupted evolve to abort + [255] + + $ hg next --abort --move-bookmark + abort: cannot specify both --abort and --move-bookmark + [10] + $ hg next --abort --merge + abort: cannot specify both --abort and --merge + [10] + + $ cd .. + Testing --merge and --evolve flags: 1 child, 1 aspchild, dirty working copy $ hg init next-dirty-evolve