tests/test-hup
author Vadim Gelfer <vadim.gelfer@gmail.com>
Mon, 15 May 2006 10:25:17 -0700
changeset 2292 903ab41ac7eb
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
allow to send email using sendmail. default is still smtp. update hgrc doc with sendmail info.

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 1
kill -HUP $P
wait
ls .hg