tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 07 Mar 2007 15:26:03 -0300
changeset 4162 b2d9e553cdc8
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
incoming/outgoing: print the name of the other repo

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