Mercurial > hg
diff mercurial/hgweb/server.py @ 4868:192cd95c2ba8
merge with crew-stable
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 11 Jul 2007 20:15:03 -0300 |
parents | f3802f9f1840 9858477ed74c |
children | 8f430b1b3025 |
line wrap: on
line diff
--- 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: