tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 28 Apr 2006 21:52:08 +0200
changeset 2152 57729c56a23c
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
Show repo's revlog format on verify only if it doesn't match the default format. This makes it easier to run the tests with different revlog formats.

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 1
kill -HUP $P
wait
ls .hg