tests/test-rename-merge1.t
branchstable
changeset 13492 ca940d06bf95
parent 13468 d100702326d5
child 13537 37f487b9fbcc
--- a/tests/test-rename-merge1.t	Fri Feb 25 15:35:01 2011 -0600
+++ b/tests/test-rename-merge1.t	Thu Feb 24 13:57:52 2011 -0300
@@ -125,3 +125,33 @@
 
   $ cat f2
   c0
+
+Check for issue2089
+
+  $ hg init repo2089
+  $ cd repo2089
+
+  $ echo 0 > A
+  $ hg -q ci -Am 0
+
+  $ hg -q up -C null
+  $ echo 1 > A
+  $ hg -q ci -Am 1
+
+  $ hg -q up -C 0
+  $ hg merge 1 -q --tool internal:local
+  $ echo 2 > A
+  $ hg -q ci -m 2
+
+  $ hg -q up -C 1
+  $ hg mv A a
+  $ hg -q ci -Am 3
+
+  $ hg -q up -C 2
+  $ hg merge 3
+  merging A and a to a
+  0 files updated, 1 files merged, 0 files removed, 0 files unresolved
+  (branch merge, don't forget to commit)
+
+  $ cat a
+  2