tests/test-hgrc
author Matt Mackall <mpm@selenic.com>
Fri, 21 Sep 2007 17:18:06 -0500
changeset 5323 29be4228303b
parent 4659 7a7d4937272b
permissions -rwxr-xr-x
verify: report first bad changeset - add linkrev and file arguments to err - track lowest reported linkrev in err - find linkrev in a couple cases - sort linkrevs when reporting a bunch of errors against a file - tidy up lots of messages - make more robust against damaged indexes - report first bad changeset if an error is encountered

#!/bin/sh

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