view tests/test-hup @ 5188:831ebc408ffb

Adjust contrib/hg-ssh for moved dispatch() function.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 17 Aug 2007 19:11:16 +0200
parents a413f5c29c46
children
line wrap: on
line source

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