view tests/test-hup @ 4837:7031d9e2fa45

hgweb: browse subdirectories before checking whether parent directory is also a repository
author Brendan Cully <brendan@kublai.com>
date Sat, 07 Jul 2007 15:09:08 -0700
parents a413f5c29c46
children
line wrap: on
line source

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