tests/test-hup
author Christian Ebert <blacktrash@gmx.net>
Wed, 02 Aug 2006 00:20:28 +0200
changeset 2759 19436facb073
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
hgcommand.vim: requirements & doc self-install more consistent; cosmetics Check for availability of builtin system(). Set 'compatible' while sourcing script. File operation during doc self-install: Escape spaces in ex-commands. Use quotes in system calls. Incremented revision number(s). Size of patch is due to cosmetic cleanups: Removal of spaces at line endings. <SID>Prefix to functions when called.

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 3
kill -HUP $P
wait
ls .hg