tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 29 Aug 2005 20:37:07 +0200
changeset 1150 4ee09418c8e5
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
bash_completion: better handling of aliases Instead of listing every alias in the big case..esac, use hg help to get the canonical name of the command.

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