tests/test-hgrc
author TK Soh <teekaysoh@yahoo.com>
Tue, 07 Mar 2006 08:05:17 +0100
changeset 1848 bb70ffebe77b
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
show choices on ambiguous commands

#!/bin/sh

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