view tests/test-hup @ 2518:d78ae783499d

mercurial.el: fix misleading indent of code. code was correct, indent was wrong.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 29 Jun 2006 10:35:15 -0700
parents f16435b45780
children 9419855309cd
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
wait
ls .hg