Mercurial > hg
view tests/test-push-validation @ 10650:9ea7238ad935
archive: autodetect archive type by extension (issue2058)
author | David Wolever <david@wolever.net> |
---|---|
date | Thu, 11 Mar 2010 15:52:17 +0100 |
parents | b26c4a89a143 |
children |
line wrap: on
line source
#!/bin/sh hg init test cd test cat > .hg/hgrc <<EOF [server] validate=1 EOF echo alpha > alpha echo beta > beta hg addr hg ci -m 1 cd .. hg clone test test-clone cd test-clone cp .hg/store/data/beta.i tmp echo blah >> beta hg ci -m '2 (corrupt)' mv tmp .hg/store/data/beta.i hg push 2>&1 | "$TESTDIR/filtertmp.py"