Mercurial > public > mercurial-scm > hg
diff mercurial/httprepo.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 | 9d2c2e6b32b5 |
children | 8a8ab47cccde |
line wrap: on
line diff
--- a/mercurial/httprepo.py Thu Feb 16 14:34:59 2006 -0800 +++ b/mercurial/httprepo.py Fri Feb 17 08:26:21 2006 -0800 @@ -119,7 +119,7 @@ self.ui.warn(_("unexpected response:\n") + d[:400] + "\n...\n") raise - def changegroup(self, nodes): + def changegroup(self, nodes, kind): n = " ".join(map(hex, nodes)) f = self.do_cmd("changegroup", roots=n) bytes = 0