tests/test-hgrc
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 15 Dec 2005 17:50:10 +0100
changeset 1593 6bb3463b124b
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
if a filename contains spaces, patch adds quote around it

#!/bin/sh

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