tests/test-evolve.t
branchstable
changeset 901 4f84b3307dc2
parent 742 760d01a549a6
child 907 c17ab719da56
child 915 1ebe5c51919b
--- a/tests/test-evolve.t	Fri Apr 04 01:07:27 2014 +0200
+++ b/tests/test-evolve.t	Mon Apr 14 18:16:35 2014 +0200
@@ -645,3 +645,28 @@
   4	: add 4 - test
   5	: add 3 - test
   11	: add 1 - test
+
+
+Test evolving renames
+
+  $ hg up null
+  0 files updated, 0 files merged, 4 files removed, 0 files unresolved
+  $ echo a > a
+  $ hg ci -Am a
+  adding a
+  created new head
+  $ echo b > b
+  $ hg ci -Am b
+  adding b
+  $ hg mv a c
+  $ hg ci -m c
+  $ hg kill .^
+  1 changesets pruned
+  1 new unstable changesets
+  $ hg stab --any
+  move:[15] c
+  atop:[13] a
+  $ hg st -C --change=tip
+  A c
+    a
+  R a