view tests/test-hup @ 2275:714f4d25a7a9

Fix hgweb.filediff The third argument to hgweb.diff should be a list, not a string. This fixes a bug found by xorAxAx, where hgweb would also show the diff for "README" when you ask for the diff for "Demo/cgi/README".
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 12 May 2006 21:25:07 -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