Mercurial > hg
view tests/test-dirstatedirs @ 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 | 6dab29f6df37 |
children |
line wrap: on
line source
#!/bin/sh # test dirstate._dirs refcounting hg init t cd t mkdir -p a/b/c/d touch a/b/c/d/x touch a/b/c/d/y touch a/b/c/d/z hg ci -Am m hg mv a z