tests/test-hup
author Brendan Cully <brendan@kublai.com>
Thu, 05 Jul 2007 12:24:26 -0700
changeset 4812 a5209b0487e0
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
convert: export revmap to source. Sources may be able to use it to optimise their own log fetching

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