tests/test-hup
author Matt Mackall <mpm@selenic.com>
Wed, 13 Aug 2008 20:18:43 -0500
changeset 6899 56a7a54e074f
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
store: simplify walking - fold in main walking function - eliminate recursion (especially recursive yielding!) - eliminate default args

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