view tests/test-hgrc @ 4947:3e25a6eb5c9a

lock.py: cache hostname, but not pid, in case we fork
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 19 Jul 2007 15:13:48 -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:"