view tests/test-hgrc @ 4010:e282448d68f1

inst.reason isn't alway in the form (errno, strerror) urllib2.urlopen("foobar://foo") is an example where inst.reason is a string fix issue383
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 28 Dec 2006 01:14:12 +0100
parents 7d66ce9895fa
children 7a7d4937272b
line wrap: on
line source

#!/bin/sh

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