tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 08 Aug 2007 12:27:20 +0200
changeset 5122 c80af96943aa
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
refactor options from cmdtable - add extracommitopts for user and date - factor stuff

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