changeset 5403 | 477136fa6571 |
parent 5089 | 4cd52978e188 |
--- a/tests/test-git-import +++ b/tests/test-git-import @@ -198,3 +198,19 @@ index 0000000..257cc56 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