Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/server.py @ 4096:49237d6ae97d
merge with crew-stable
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 16 Feb 2007 05:27:37 -0200 |
parents | e6d26e71f049 3d7480ada3e5 |
children | 9dc64c8414ca |
line wrap: on
line diff
--- a/mercurial/hgweb/server.py Thu Feb 15 10:15:08 2007 -0200 +++ b/mercurial/hgweb/server.py Fri Feb 16 05:27:37 2007 -0200 @@ -222,8 +222,8 @@ if self.webdir_conf: hgwebobj = self.webdirmaker(self.webdir_conf, ui) elif self.repo is not None: - hgwebobj = self.repoviewmaker(repo.__class__(repo.ui, - repo.origroot)) + hgwebobj = self.repoviewmaker(hg.repository(repo.ui, + repo.root)) else: raise hg.RepoError(_("There is no Mercurial repository here" " (.hg not found)"))