comparison 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
comparison
equal deleted inserted replaced
9327:9a69ab6d7cf7 9328:648d6a1a1cf2
290 A b 290 A b
291 R a 291 R a
292 % add empty file from the end of patch (issue 1495) 292 % add empty file from the end of patch (issue 1495)
293 adding a 293 adding a
294 applying a.patch 294 applying a.patch
295 % create file when source is not /dev/null
296 applying ../create.patch
297 a