tests/test-evolve-continue.t
changeset 5010 effce0a1f5bd
parent 4676 b6c819facbe8
child 5011 04104042c6ad
--- a/tests/test-evolve-continue.t	Mon Dec 09 10:36:11 2019 -0800
+++ b/tests/test-evolve-continue.t	Tue Nov 19 14:24:31 2019 -0800
@@ -434,3 +434,31 @@
   M c
   A d
   ? c.orig
+
+  $ cd ..
+  $ hg init transitive-renames
+  $ cd transitive-renames
+  $ echo 1 > a
+  $ echo 1 > b
+  $ hg ci -Aqm initial
+  $ echo 2 > a
+  $ hg mv b c
+  $ hg ci -m 'rename b to c'
+  $ echo 3 > a
+  $ hg mv c d
+  $ hg ci -m 'rename c to d'
+  $ hg prev -q
+  $ echo 2b > a
+  $ hg amend -q
+  1 new orphan changesets
+  $ hg ev -q
+  warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
+  unresolved merge conflicts
+  (see 'hg help evolve.interrupted')
+  [1]
+BROKEN: 'd' should be marked as a copy
+  $ hg st -C
+  M a
+  A d
+  R c
+  ? a.orig