view tests/test-hup @ 3875:729f354f3f09

zsh: better fix for partial completions Properly handle relative paths followed by partial filenames hg add ../path/to/file/partial[TAB]
author Steve Borho <steve@borho.org>
date Tue, 12 Dec 2006 15:34:11 -0600
parents c0b449154a90
children a413f5c29c46
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 3
kill -HUP $P
wait
ls -R .hg