--- a/mercurial/hgweb/server.py Tue Jul 10 10:54:54 2007 -0600
+++ b/mercurial/hgweb/server.py Wed Jul 11 20:15:03 2007 -0300
@@ -197,13 +197,13 @@
return open(opt, 'w')
return default
- address = ui.config("web", "address", "")
- port = int(ui.config("web", "port", 8000))
- use_ipv6 = ui.configbool("web", "ipv6")
- webdir_conf = ui.config("web", "webdir_conf")
- ssl_cert = ui.config("web", "certificate")
- accesslog = openlog(ui.config("web", "accesslog", "-"), sys.stdout)
- errorlog = openlog(ui.config("web", "errorlog", "-"), sys.stderr)
+ address = repo.ui.config("web", "address", "")
+ port = int(repo.ui.config("web", "port", 8000))
+ use_ipv6 = repo.ui.configbool("web", "ipv6")
+ webdir_conf = repo.ui.config("web", "webdir_conf")
+ ssl_cert = repo.ui.config("web", "certificate")
+ accesslog = openlog(repo.ui.config("web", "accesslog", "-"), sys.stdout)
+ errorlog = openlog(repo.ui.config("web", "errorlog", "-"), sys.stderr)
if use_threads:
try: