view tests/test-hgrc @ 6153:09a8be3e5bfb

Also search for .hgrc if mercurial.ini not found on windows
author Stefan Rank <strank(AT)strank(DOT)info>
date Wed, 20 Feb 2008 21:31:42 +0100
parents 7a7d4937272b
children e51c0f41f271
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:"