tests/test-hup
author Matt Mackall <mpm@selenic.com>
Thu, 27 Dec 2007 23:55:40 -0600
changeset 5738 2a54e2b177b6
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
bisect: use proper locking when updating bisect.state

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