tests/test-bad-extension
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 10 Oct 2006 18:43:20 -0300
changeset 3348 e4aa22eaa0e4
parent 3014 01454af644b8
child 3990 96e21337dc03
permissions -rwxr-xr-x
call ui.updateopts only after changing directories This corrects --config paths.foo=bar when it's used with --cwd

#!/bin/sh

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

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

hg -q help help