##// END OF EJS Templates
use a proper test instead of catching every exception
use a proper test instead of catching every exception

File last commit:

r1473:7d66ce98 default
r1956:16750010 default
Show More
test-hgrc
7 lines | 106 B | text/plain | TextLexer
#!/bin/sh
mkdir t
cd t
hg init
echo "invalid" > .hg/hgrc
hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"