tests/test-bad-extension
author Patrick Mezard <pmezard@gmail.com>
Wed, 10 Jan 2007 20:35:27 +0100
changeset 4023 6ea8a3b805ee
parent 3990 96e21337dc03
child 4139 efe6f92c0847
permissions -rwxr-xr-x
Flush stderr after write. stderr can be buffered under win32 when redirected to a file, including stdout.

#!/bin/sh

echo 'syntax error' > badext.py
abspath=`pwd`/badext.py

echo '[extensions]' >> $HGRCPATH
echo "gpg =" >> $HGRCPATH
echo "hgext.gpg =" >> $HGRCPATH
echo "badext = $abspath" >> $HGRCPATH

hg -q help help