tests/test-hup
author Matt Mackall <mpm@selenic.com>
Tue, 12 Dec 2006 18:16:23 -0600
changeset 3885 1e0b94cfba0e
parent 3853 c0b449154a90
child 3917 a413f5c29c46
permissions -rwxr-xr-x
Remove deprecated old-style branch support

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