tests/test-hup
author Patrick Mezard <pmezard@gmail.com>
Mon, 01 Dec 2008 14:20:20 +0100
changeset 7450 79d1bb737c16
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
hgweb: extend [paths] syntax to match repositories recursively (issue852) This feature somehow duplicates [collections] but it is simpler to use and has less issues under Windows where using absolute path as configuration file key is not supported. Suggested by Dirkjan Ochtman <dirkjan@ochtman.nl>

#!/bin/sh

"$TESTDIR/hghave" fifo || exit 80

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