view tests/test-hgrc @ 5128:c9126c24e098

record: work properly if invoked in a subdirectory
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 06 Aug 2007 12:53:17 -0700
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:"