view tests/test-hup @ 1376:524ca4a06f70

Fix same performance bug as c3654cfaa77 but for httprepo.py instead.
author Eric Hopper <hopper@omnifarious.org>
date Mon, 03 Oct 2005 15:06:46 -0700
parents 0902ffece4b4
children f16435b45780
line wrap: on
line source

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 1
kill -HUP $P
sleep 1
ls .hg