view tests/test-hup @ 3916:645e1dd4b8ae

convert-repo: update usage information
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 16 Dec 2006 20:18:36 -0200
parents c0b449154a90
children a413f5c29c46
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
ls -R .hg