tests/test-hup
author Matt Mackall <mpm@selenic.com>
Thu, 26 Oct 2006 17:15:55 -0500
changeset 3525 cf0f8d9256c7
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
simplify revrange and revpair

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