##// END OF EJS Templates
make readconfig take a filename instead of a file pointer as argument...
make readconfig take a filename instead of a file pointer as argument catch parse error while reading a config file add a testcase for parse error

File last commit:

r1473:7d66ce98 default
r1473:7d66ce98 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:"