Mercurial > hg
view tests/test-hup @ 7460:3342e6ada4b9
push: use the fast changegroup() path on push
The race doesn't happen on push (because the discovery is done
in the same hg process), so use the fast path instead.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 02 Dec 2008 19:36:43 +0100 |
parents | a6477aa893b8 |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" fifo || exit 80 hg init mkfifo p hg serve --stdio < p & P=$! (echo lock; echo addchangegroup; sleep 5) > p & Q=$! sleep 3 kill -HUP $P wait echo .hg/* .hg/store/*