view tests/test-hup @ 2521:9cceb439048b

add -r/--rev arguments to incoming and outgoing
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 30 Jun 2006 16:16:35 +0200
parents f16435b45780
children 9419855309cd
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 1
kill -HUP $P
wait
ls .hg