tests/test-import
changeset 9591 012f1244cd4c
parent 9328 648d6a1a1cf2
parent 9573 b8352a3617f3
child 9594 f0c5c59d878d
--- a/tests/test-import	Wed Oct 07 22:50:20 2009 +0200
+++ b/tests/test-import	Fri Oct 09 00:29:39 2009 +0200
@@ -345,3 +345,24 @@
 cd oddcreate
 hg import --no-commit ../create.patch
 cat foo
+cd ..
+
+echo % 'first line mistaken for email headers (issue 1859)'
+hg init emailconfusion
+cd emailconfusion
+cat > a.patch <<EOF
+module: summary
+
+description
+
+
+diff -r 000000000000 -r 9b4c1e343b55 test.txt
+--- /dev/null
++++ b/a
+@@ -0,0 +1,1 @@
++a
+EOF
+hg import -d '0 0' a.patch
+hg parents -v
+cd ..
+