test-rename: test with absolute paths stable
authorMartin Geisler <mg@aragost.com>
Mon, 01 Nov 2010 16:22:41 +0100
branchstable
changeset 12898 f2fd909053d9
parent 12897 81cdf836457e
child 12899 fabe61418a53
test-rename: test with absolute paths
tests/test-rename.t
--- a/tests/test-rename.t	Mon Nov 01 16:19:06 2010 +0100
+++ b/tests/test-rename.t	Mon Nov 01 16:22:41 2010 +0100
@@ -25,6 +25,17 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ rm d2/c
 
+rename a single file using absolute paths
+
+  $ hg rename `pwd`/d1/d11/a1 `pwd`/d2/c
+  $ hg status -C
+  A d2/c
+    d1/d11/a1
+  R d1/d11/a1
+  $ hg update -C
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ rm d2/c
+
 rename --after a single file
 
   $ mv d1/d11/a1 d2/c