Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb.py @ 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 | 41d884f741ca |
children | 982fb022a16a a1e6e02e9d05 |
line wrap: on
line diff
--- a/mercurial/hgweb.py Thu Feb 16 14:34:59 2006 -0800 +++ b/mercurial/hgweb.py Fri Feb 17 08:26:21 2006 -0800 @@ -962,7 +962,7 @@ nodes = map(bin, req.form['roots'][0].split(" ")) z = zlib.compressobj() - f = self.repo.changegroup(nodes) + f = self.repo.changegroup(nodes, 'serve') while 1: chunk = f.read(4096) if not chunk: