view tests/test-help @ 2294:ce67fa312f61

Catch urllib's HTTPException and give a meaningful error message to the user. Usually urllib only throws HTTPError exceptions, which already are a subclass of IOError.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 16 May 2006 09:35:38 +0200
parents 01215ad04283
children
line wrap: on
line source

#!/bin/sh

hg
hg -q
hg help
hg -q help
hg add -h
hg add --skjdfks
hg help diff
hg help status
hg -q help status
hg help foo
hg skjdfks

exit 0