view tests/test-hgrc @ 4015:769be3c57564

Handle exceptions in do_hgweb: Send "Internal Server Error", log traceback
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 02 Jan 2007 22:12:38 +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:"