tests/test-hup
author Matt Mackall <mpm@selenic.com>
Fri, 23 Mar 2007 00:12:28 -0500
changeset 4273 8185a1ca8628
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
tags: require -f to replace an existing tag based on a patch from Johan Herland <johherla@online.no>

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