tests/test-hup
author Matt Mackall <mpm@selenic.com>
Mon, 11 Jun 2007 21:09:24 -0500
changeset 4554 9dbabb9d466c
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
dispatch: use the repo path found by early parsing This lets us simplify things a bit.

#!/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/*