tests/test-bad-extension
author Patrick Mezard <pmezard@gmail.com>
Tue, 17 Jul 2007 23:35:24 +0200
changeset 4904 59b8ff35c4ed
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
patch: patches should be read and written in binary mode when possible.

#!/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