comparison tests/test-hgrc @ 1473:7d66ce9895fa

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
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 27 Oct 2005 13:40:56 -0700
parents
children
comparison
equal deleted inserted replaced
1472:3c909a747d7f 1473:7d66ce9895fa
1 #!/bin/sh
2
3 mkdir t
4 cd t
5 hg init
6 echo "invalid" > .hg/hgrc
7 hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"