tests/test-bad-extension
author Patrick Mezard <pmezard@gmail.com>
Sun, 03 Jun 2007 22:11:25 +0200
changeset 4517 5371a213b0f4
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
ui: make readsections() abort when configuration cannot be read.

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