view tests/test-hup @ 2107:7ff92c04f8e5

Don't die calling outgoing hook if we have no changesets
author Matt Mackall <mpm@selenic.com>
date Fri, 21 Apr 2006 15:14:27 -0500
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