tests/test-hup
author Brendan Cully <brendan@kublai.com>
Wed, 11 Jul 2007 00:34:35 -0700
changeset 4865 76d4d031cc50
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
handle nonexistent .hgtags in raw _tag

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