Mercurial > public > mercurial-scm > hg-stable
diff mercurial/sshrepo.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 | ced2d3620f95 |
line wrap: on
line diff
--- a/mercurial/sshrepo.py Thu Feb 16 14:34:59 2006 -0800 +++ b/mercurial/sshrepo.py Fri Feb 17 08:26:21 2006 -0800 @@ -110,7 +110,7 @@ except: raise hg.RepoError(_("unexpected response '%s'") % (d[:400] + "...")) - def changegroup(self, nodes): + def changegroup(self, nodes, kind): n = " ".join(map(hex, nodes)) f = self.do_cmd("changegroup", roots=n) return self.pipei