view tests/test-hgrc @ 1820:7e10518b2b9e

Really fix bash_completion on Solaris. Maybe. Hopefully. Use substr instead of sub.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 01 Mar 2006 14:52:28 +0100
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:"