tests/test-hup
author Vadim Gelfer <vadim.gelfer@gmail.com>
Mon, 08 May 2006 14:19:05 -0700
changeset 2227 4f072bb06e89
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
deprecate undo command, replace with rollback command.

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