tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 13 Jun 2007 19:15:58 -0300
changeset 4573 d092e962c4f8
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
localrepo.add: avoid some stats There's still an extra lstat done by dirstate.update.

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