tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 16 Feb 2007 04:54:46 -0200
changeset 4092 4ced663bebf0
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
git patches: handle renames of binary files

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