Corrected "waiting for lock on repository FOO held by BAR" message.
BAR was the error number and not the locker name.
Use repr on BAR, so problems can be detected easier.
#!/bin/shhg initmkfifo phg serve --stdio < p &P=$!(echo lock; echo addchangegroup; sleep 5) > p &Q=$!sleep 3kill -HUP $Pwaitls .hg