view tests/test-bad-extension @ 4809:c2d529f288a1

convert: move some code into common init function
author Brendan Cully <brendan@kublai.com>
date Thu, 05 Jul 2007 12:08:48 -0700
parents efe6f92c0847
children
line wrap: on
line source

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