tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 17 Jul 2006 02:00:49 +0200
changeset 2653 b24efed24e8f
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
allow specifying a file to hg parents, change the syntax to use -r/--rev

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