view tests/test-hup @ 2491:ffde9eb23f59

Fix localrepo.changes() Correctly decide if we are diffing the working dir
author Chris Mason <mason@suse.com>
date Fri, 23 Jun 2006 16:42:48 -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