diff tests/test-import.out @ 9328:648d6a1a1cf2

patch: create file even if source is not /dev/null as long as the first hunk is -0,0 and the source and destination have the same name. Matt found a patch like this, and /usr/bin/patch accepts it.
author Brendan Cully <brendan@kublai.com>
date Fri, 07 Aug 2009 19:27:54 -0700
parents a21605de1509
children c156bf947e26
line wrap: on
line diff
--- a/tests/test-import.out	Thu Aug 06 21:35:58 2009 -0700
+++ b/tests/test-import.out	Fri Aug 07 19:27:54 2009 -0700
@@ -292,3 +292,6 @@
 % add empty file from the end of patch (issue 1495)
 adding a
 applying a.patch
+% create file when source is not /dev/null
+applying ../create.patch
+a