tests/test-hup
author Brendan Cully <brendan@kublai.com>
Wed, 27 Sep 2006 14:50:20 -0700
changeset 3178 b3e103c388fc
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
mq: don't write applied patches into series twice in restore

#!/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
ls .hg