Mercurial > public > mercurial-scm > hg-stable
diff tests/test-import @ 9576:c156bf947e26
Merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 11 Oct 2009 13:54:19 -0500 |
parents | 648d6a1a1cf2 b8352a3617f3 |
children | f0c5c59d878d |
line wrap: on
line diff
--- a/tests/test-import Thu Oct 08 01:17:48 2009 -0500 +++ b/tests/test-import Sun Oct 11 13:54:19 2009 -0500 @@ -345,3 +345,23 @@ cd oddcreate hg import --no-commit ../create.patch cat foo + +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 .. +