view tests/test-hgrc @ 2528:049f930f18c1

Workaround to work with less sophisticated sed versions. For example NetBSD sed doesn't know about '\|'.
author Sascha Wilde <wilde@sha-bang.de>
date Tue, 27 Jun 2006 21:56:11 +0200
parents 7d66ce9895fa
children 7a7d4937272b
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:"