view tests/test-rebuildstate.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 ffeb926d57ce
children
line wrap: on
line source

adding bar
adding foo
% state dump after
n 666         -1 bar
n 666         -1 foo
% status
! bar
? baz
C foo