view tests/test-addremove @ 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 7544700fd931
children ff3ea21a981a
line wrap: on
line source

#!/bin/sh

hg init rep
cd rep
mkdir dir
touch foo dir/bar
hg -v addremove
hg -v commit -m "add 1" -d "1000000 0"
cd dir/
touch ../foo_2 bar_2
hg -v addremove
hg -v commit -m "add 2" -d "1000000 0"