tests/test-hup
author Brendan Cully <brendan@kublai.com>
Wed, 11 Jul 2007 00:53:44 -0700
changeset 4856 1f3742217a76
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
replace .hgtags instead of appending to it when doing a raw commit

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