mercurial/commands.py
changeset 18827 6793ae6e36dc
parent 18799 0ed95fe674a8
child 18828 b718999f2e0b
equal deleted inserted replaced
18826:35fb2ef52a39 18827:6793ae6e36dc
  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)