tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 28 Aug 2006 21:49:02 +0200
changeset 3016 aebc3f64b20f
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
fix incorrect warning when walking on a particular rev when a directory was given instead of a file it reported incorrectly 'No such file or directory in rev <rev>' we test if the file is a prefix directory

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