tests/test-hup
author mpm@selenic.com
Wed, 07 Sep 2005 23:38:28 -0700
changeset 1214 34706a835d4a
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
Smarter handling of revlog key errors Use RevlogError for reporting exceptions Catch and report RevlogError exceptions at the command parser

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