Mercurial > hg
view tests/test-hup @ 1736:50de0887bbcd
add preoutgoing and outgoing hooks.
preoutgoing lets prevent pull over http or ssh.
outgoing lets notify after pull.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 17 Feb 2006 08:26:21 -0800 |
parents | 0902ffece4b4 |
children | f16435b45780 |
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 sleep 1 ls .hg