tests/test-bad-extension
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 02 Dec 2006 22:15:18 +0100
changeset 3765 768ba23c948e
parent 3011 01454af644b8
child 3990 96e21337dc03
permissions -rwxr-xr-x
Change sshrepo.repoerror() into a more flexible sshrepo.raise_(). Now every exception can be raised with a cleanup, not only hg.RepoError.

#!/bin/sh

echo 'syntax error' > badext.py
abspath=`pwd`/badext.py

echo '[extensions]' >> $HGRCPATH
echo "badext = $abspath" >> $HGRCPATH

hg -q help help