tests/test-bad-extension
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 05 Aug 2007 22:36:39 -0300
changeset 5079 ccdc8db02bdf
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
hgweb: don't use os.path.join to build URL parts

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