mercurial/commands.py
changeset 18828 b718999f2e0b
parent 18827 6793ae6e36dc
child 18848 cc741817a49e
equal deleted inserted replaced
18827:6793ae6e36dc 18828:b718999f2e0b
  5089     o = opts.get('web_conf') or opts.get('webdir_conf')
  5089     o = opts.get('web_conf') or opts.get('webdir_conf')
  5090     if not o:
  5090     if not o:
  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
  5095 
  5095 
  5096     app = hgweb.hgweb(o, baseui=baseui)
  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):