tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 10 Mar 2007 22:03:23 -0300
changeset 4174 7307d2e98b32
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
fix qrefresh'ing an empty patch This is not superefficient (the commit will have to walk the whole tree), but it works.

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