tests/test-hup
author mason@suse.com
Sun, 14 Aug 2005 20:09:32 -0800
changeset 904 969647d5100a
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
Add optional parameter for changed/added/del/unknown files to commands.dodiff This makes it possible to avoid a call into repo.changes if the details of what has changed is already known

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