##// END OF EJS Templates
Fix test-push-validation under Windows
Fix test-push-validation under Windows

File last commit:

r10469:b26c4a89 stable
r10469:b26c4a89 stable
Show More
test-push-validation
22 lines | 317 B | text/plain | TextLexer
/ tests / test-push-validation
Augie Fackler
localrepo: add optional validation (defaults to off) for incoming changes...
r10418 #!/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
Patrick Mezard
Fix test-push-validation under Windows
r10469 hg push 2>&1 | "$TESTDIR/filtertmp.py"