view tests/test-hup @ 6313:c5580db9c3aa

remoterepo: no longer needed All users already use repo.local() to test for local, which is false in the repository base class. statichttprepository never derived from this class anyway.
author Matt Mackall <mpm@selenic.com>
date Thu, 20 Mar 2008 11:12:35 -0500
parents a413f5c29c46
children a6477aa893b8
line wrap: on
line source

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 3
kill -HUP $P
wait
echo .hg/* .hg/store/*