tests/test-hup
author Abderrahim Kitouni <a.kitouni@gmail.com>
Sat, 04 Jul 2009 14:18:15 +0100
changeset 9092 9aebeea7ac00
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
subrepo: use hg.repository instead of creating localrepo directly this way, extensions' reposetup will be called, which allows for git subrepos to be handled by hg-git (and I believe the same goes for svn and hgsubversion)

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