tests/test-hup
author Matt Mackall <mpm@selenic.com>
Tue, 25 Oct 2005 15:52:27 -0700
changeset 1448 182879d71922
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
Allow reverting a deleted file with two parents As elsewhere, we choose the first parent by default

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