view tests/test-hgrc @ 4231:83153299aab5

avoid a traceback with hg branch newbranch; hg up
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Mar 2007 00:22:59 -0300
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:"