tests/test-hgrc
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 15 Feb 2006 04:37:47 +0100
changeset 1722 681c5c211b92
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
catch errors and throw exception with invalid binary patch data

#!/bin/sh

mkdir t
cd t
hg init
echo "invalid" > .hg/hgrc
hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"