tests/test-bad-extension
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 01 Jun 2007 16:00:40 +0200
changeset 4471 736e49292809
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
addremove: comparing two empty files caused ZeroDivisionError (found by Giorgos Keramidas)

#!/bin/sh

echo 'raise Exception("bit bucket overflow")' > badext.py
abspath=`pwd`/badext.py

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

hg -q help help