tests/test-hup
author Matt Mackall <mpm@selenic.com>
Sat, 21 Jul 2007 16:02:10 -0500
changeset 4960 5c5d23d93447
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
Use a weakref for recursive transactions

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