tests/test-hup
author Michele Cella <michele.cella@gmail.com>
Tue, 22 Jan 2008 22:13:29 +0100
changeset 5970 f25070ecf334
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
hgweb: fixes to make hg serve prefix handling more robust

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