rebase: add test for in-memory merge conflicts
authorYuya Nishihara <yuya@tcha.org>
Fri, 17 Aug 2018 10:19:17 +0900
changeset 39134 e338a921a0cd
parent 39133 06baaf43c959
child 39135 485a3349d5ee
rebase: add test for in-memory merge conflicts
tests/test-rebase-inmemory.t
--- a/tests/test-rebase-inmemory.t	Thu Aug 16 18:53:51 2018 +0000
+++ b/tests/test-rebase-inmemory.t	Fri Aug 17 10:19:17 2018 +0900
@@ -351,6 +351,19 @@
   hit a merge conflict
   [1]
 
+In-memory rebase that fails due to merge conflicts
+
+  $ hg rebase -s 2 -d 7
+  rebasing 2:177f92b77385 "c"
+  rebasing 3:055a42cdd887 "d"
+  rebasing 4:e860deea161a "e"
+  merging e
+  transaction abort!
+  rollback completed
+  hit merge conflicts; re-running rebase without in-memory merge
+  abort: abort and continue do not allow specifying revisions
+  [255]
+
 ==========================
 Test for --confirm option|
 ==========================