view tests/test-bad-extension @ 3603:ef9c515836ae

zsh: compute repository root instead of forking hg
author Brendan Cully <brendan@kublai.com>
date Tue, 31 Oct 2006 16:35:44 -0800
parents 01454af644b8
children 96e21337dc03
line wrap: on
line source

#!/bin/sh

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

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

hg -q help help