view tests/test-hup @ 5010:6b2d8caf87b2

convert svn: try to extract URL from source if it is a working directory
author Brendan Cully <brendan@kublai.com>
date Thu, 26 Jul 2007 10:57:26 -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/*