diff -r 9195bc4cb816 -r add7bcad1d9c mercurial/commands.py --- a/mercurial/commands.py Sat Oct 15 14:06:46 2016 +0900 +++ b/mercurial/commands.py Sat Oct 15 14:09:36 2016 +0900 @@ -51,7 +51,6 @@ hbisect, help, hg, - hgweb, localrepo, lock as lockmod, merge as mergemod, @@ -6300,7 +6299,7 @@ if opts["cmdserver"]: service = server.createcmdservice(ui, repo, opts) else: - service = hgweb.createservice(ui, repo, opts) + service = server.createhgwebservice(ui, repo, opts) return server.runservice(opts, initfn=service.init, runfn=service.run) @command('^status|st',