tests/test-git-import
changeset 5403 477136fa6571
parent 5073 4cd52978e188
child 10060 f780b1098efc
--- a/tests/test-git-import	Sat Oct 06 15:30:15 2007 -0300
+++ b/tests/test-git-import	Sat Oct 06 15:30:15 2007 -0300
@@ -198,3 +198,19 @@
 EOF
 cat "foo bar"
 
+echo % copy then modify the original file
+hg import -m copy-mod-orig - <<EOF
+diff --git a/foo2 b/foo2
+index 257cc56..fe08ec6 100644
+--- a/foo2
++++ b/foo2
+@@ -1 +1,2 @@
+ foo
++new line
+diff --git a/foo2 b/foo3
+similarity index 100%
+copy from foo2
+copy to foo3
+EOF
+
+cat foo3