tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 24 May 2006 10:59:30 +0200
changeset 2347 5b178298b7f4
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
use a more reliable way to find what are the new changesets on pull/unbundle The number of csets and the hooks where wrong (negative number of csets) when we unbundled a bundle which contains csets we already had. Remove unused variables.

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