changeset 2355 | eb08fb4d41e1 |
parent 2335 | f0680b2d1d64 |
child 2356 | 2db831b33e8f |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2542,7 +2542,7 @@ def serve(ui, repo, **opts): os._exit(0) try: - httpd = hgweb.create_server(ui, repo) + httpd = hgweb.create_server(ui, repo, hgweb.hgwebdir, hgweb.hgweb) except socket.error, inst: raise util.Abort(_('cannot start server: ') + inst.args[1])