tests/test-hgrc
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 29 Nov 2005 22:29:14 +0100
changeset 1561 9c6d0abdb94e
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
disallow '\n' and '\r' in tag names add a test for disallowed characters in tag names

#!/bin/sh

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