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:"