tests/test-bad-extension
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 04 Mar 2007 14:09:29 -0300
changeset 4139 efe6f92c0847
parent 3990 96e21337dc03
permissions -rwxr-xr-x
test-bad-extension: avoid printing the file name This should make it simpler on windows

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