tests/test-bad-extension
author Christian Ebert <blacktrash@gmx.net>
Wed, 09 Jan 2008 05:18:50 +0100
changeset 5823 2a66138c5e7e
parent 4139 efe6f92c0847
child 6204 f8a86ea7521b
permissions -rwxr-xr-x
keyword: (bugfix) only set changenode for kwtemplater when committing kwexpand must always obtain changenode from filectx, otherwise current changenode is expanded in every file. Also fixes "hg cat <more than 1 file>".

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