changeset 12898:f2fd909053d9 stable

test-rename: test with absolute paths
author Martin Geisler <mg@aragost.com>
date Mon, 01 Nov 2010 16:22:41 +0100
parents 81cdf836457e
children fabe61418a53
files tests/test-rename.t
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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