mercurial/commands.py
changeset 8189 d2899a856f9f
parent 8188 f3abe032fc89
child 8190 9b8ac5fb7760
equal deleted inserted replaced
8188:f3abe032fc89 8189:d2899a856f9f
  2675             raise error.RepoError(_("There is no Mercurial repository here"
  2675             raise error.RepoError(_("There is no Mercurial repository here"
  2676                               " (.hg not found)"))
  2676                               " (.hg not found)"))
  2677         s = sshserver.sshserver(ui, repo)
  2677         s = sshserver.sshserver(ui, repo)
  2678         s.serve_forever()
  2678         s.serve_forever()
  2679 
  2679 
  2680     parentui = ui.parentui or ui
  2680     parentui = repo and repo.baseui or ui
  2681     optlist = ("name templates style address port prefix ipv6"
  2681     optlist = ("name templates style address port prefix ipv6"
  2682                " accesslog errorlog webdir_conf certificate")
  2682                " accesslog errorlog webdir_conf certificate")
  2683     for o in optlist.split():
  2683     for o in optlist.split():
  2684         if opts[o]:
  2684         if opts[o]:
  2685             parentui.setconfig("web", o, str(opts[o]))
  2685             parentui.setconfig("web", o, str(opts[o]))