tests/test-import
changeset 6520 ba0b2dacc623
parent 6295 bace1990ab12
child 6758 87c704ac92d4
--- a/tests/test-import	Sat Apr 12 21:08:03 2008 +0200
+++ b/tests/test-import	Sat Apr 12 22:41:07 2008 -0400
@@ -244,3 +244,20 @@
 # and a2 should have duplicated it
 cat a2
 cd ..
+
+echo % 'test -p0'
+hg init p0
+cd p0
+echo a > a
+hg ci -Am t
+hg import -p0 - << EOF
+foobar
+--- a	Sat Apr 12 22:43:58 2008 -0400
++++ a	Sat Apr 12 22:44:05 2008 -0400
+@@ -1,1 +1,1 @@
+-a
++bb
+EOF
+hg status
+cat a
+cd ..