tests/test-hup
author Matt Mackall <mpm@selenic.com>
Fri, 21 Apr 2006 15:33:51 -0500
changeset 2108 30c7564f6dfc
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
Move empty local repo logic for pull into findincoming This fixes a silly attempt to pull a changegroup from an empty repo.

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