tests/test-hgrc
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 08 Sep 2006 10:01:45 +0200
changeset 3070 24c1db20990c
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
Include section name and parameter name (if available) in config errors. Added tests for this.

#!/bin/sh

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