view tests/test-hup @ 5484:07bdb5e5d08c

Update convert help text Add Mercurial as a source format, clarify that the include directive triggers the exclusion of all not explicitely included files/dirs and use MAPFILE instead of revmapfile in the text, following the short message convention.
author "Rafael Villar Burke <pachi@rvburke.com>"
date Fri, 02 Nov 2007 20:09:21 +0100
parents a413f5c29c46
children a6477aa893b8
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/*