tests/test-hup
author Brendan Cully <brendan@kublai.com>
Tue, 03 Jul 2007 12:44:04 -0700
changeset 4787 c5dd8e184279
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
convert: svn: add function to get the latest revision touching a path Make it work for HTTP URLs

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