view tests/test-hgrc @ 2559:bf67d0f6531c

templater.firstline should handle empty strings
author Brendan Cully <brendan@kublai.com>
date Tue, 04 Jul 2006 15:36:05 -0700
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:"