tests/test-push-validation
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed, 18 Aug 2010 23:37:26 +0200
changeset 11968 66521d25c2a6
parent 10469 b26c4a89a143
permissions -rwxr-xr-x
mq/qqueue: update bash completion

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