equal
deleted
inserted
replaced
5091 if not repo: |
5091 if not repo: |
5092 raise error.RepoError(_("there is no Mercurial repository" |
5092 raise error.RepoError(_("there is no Mercurial repository" |
5093 " here (.hg not found)")) |
5093 " here (.hg not found)")) |
5094 o = repo.root |
5094 o = repo.root |
5095 |
5095 |
5096 app = hgweb.hgweb(o, baseui=ui) |
5096 app = hgweb.hgweb(o, baseui=baseui) |
5097 |
5097 |
5098 class service(object): |
5098 class service(object): |
5099 def init(self): |
5099 def init(self): |
5100 util.setsignalhandler() |
5100 util.setsignalhandler() |
5101 self.httpd = hgweb.server.create_server(ui, app) |
5101 self.httpd = hgweb.server.create_server(ui, app) |