tests/test-push-validation
author Wagner Bruna <wbruna@softwareexpress.com.br>
Tue, 25 May 2010 13:20:33 -0300
branchstable
changeset 11244 cff6dfe28f02
parent 10469 b26c4a89a143
permissions -rwxr-xr-x
i18n-pt_BR: added message from 1b8aa9ffa7dc

#!/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"