view tests/test-hgrc @ 2261:20cf545b4725

Check existance of sys.argv for the use from mod_python.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Thu, 11 May 2006 08:48:36 -0700
parents 7d66ce9895fa
children
line wrap: on
line source

#!/bin/sh

mkdir t
cd t
hg init
echo "invalid" > .hg/hgrc
hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"