tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 27 Aug 2007 14:21:04 -0300
changeset 5242 466323968b23
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
Avoid adding to the changelog executable files added by the second parent. This was a regression introduced by b51a8138292a.

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