tests/test-import
changeset 6791 bbd89c9e6012
parent 6520 ba0b2dacc623
child 7247 c4461ea8b4c8
--- a/tests/test-import	Tue Jul 01 23:41:47 2008 +0100
+++ b/tests/test-import	Wed Jun 25 14:13:20 2008 -0700
@@ -261,3 +261,15 @@
 hg status
 cat a
 cd ..
+
+echo % 'test paths outside repo root'
+mkdir outside
+touch outside/foo
+hg init inside
+cd inside
+hg import - <<EOF
+diff --git a/a b/b
+rename from ../outside/foo
+rename to bar
+EOF
+cd ..