Mercurial > hg
view tests/test-hgcia @ 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 | b80b944836ec |
children |
line wrap: on
line source
#!/bin/sh cat >> $HGRCPATH <<EOF [extensions] hgcia= [hooks] changegroup.cia = python:hgext.hgcia.hook [cia] user = testuser project = testproject test = True EOF hg init src hg init cia cd src echo foo > foo hg ci -Amfoo hg push ../cia