diff -r 4c1d67e0fa8c -r b4b7261164d5 mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Sun Jun 29 11:35:08 2008 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Sun Jun 29 11:34:36 2008 +0200 @@ -92,7 +92,7 @@ if cmd in perms and not self.check_perm(req, perms[cmd]): return method = getattr(protocol, cmd) - method(self, req) + method(self.repo, req) return # work with CGI variables to create coherent structure