Mercurial > hg
view tests/test-hardlinks-safety.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 | 14639c050251 |
children |
line wrap: on
line source
% no diff if hardlink % init adding foo to series file applying foo now at: foo adding bar to series file applying bar now at: bar 430ed4828a74fa4047bc816a25500f7472ab4bfe:foo 4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c:bar % foo bar %%% 430ed4828a74fa4047bc816a25500f7472ab4bfe:foo % foo patch foo finalized without changeset message patch bar finalized without changeset message %%% 4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c foo 430ed4828a74fa4047bc816a25500f7472ab4bfe bar % 4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c lfoo 430ed4828a74fa4047bc816a25500f7472ab4bfe lbar %%% 4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c foo % 4e7abb4840c46a910f6d7b4d3c3fc7e5209e684c lfoo