equal
deleted
inserted
replaced
2461 |
2461 |
2462 optlist = ("name templates style address port ipv6" |
2462 optlist = ("name templates style address port ipv6" |
2463 " accesslog errorlog webdir_conf") |
2463 " accesslog errorlog webdir_conf") |
2464 for o in optlist.split(): |
2464 for o in optlist.split(): |
2465 if opts[o]: |
2465 if opts[o]: |
2466 ui.setconfig("web", o, opts[o]) |
2466 ui.setconfig("web", o, str(opts[o])) |
2467 |
2467 |
2468 if repo is None and not ui.config("web", "webdir_conf"): |
2468 if repo is None and not ui.config("web", "webdir_conf"): |
2469 raise hg.RepoError(_("There is no Mercurial repository here" |
2469 raise hg.RepoError(_("There is no Mercurial repository here" |
2470 " (.hg not found)")) |
2470 " (.hg not found)")) |
2471 |
2471 |