tests/test-hup
author Matt Mackall <mpm@selenic.com>
Sun, 17 Dec 2006 14:56:12 -0600
changeset 3921 6d0d025e125a
parent 3853 c0b449154a90
child 3917 a413f5c29c46
permissions -rwxr-xr-x
demandimport: fix import x.y.z as a when x.y is already imported.

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