tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Tue, 03 Jul 2007 12:45:33 +0200
changeset 4781 62c56d8f368b
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
Fix revlog.children so the real children of the null revision can be calculated.

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