diff -r e0eb03bfa5af -r b87a50b7125c mercurial/commands.py --- a/mercurial/commands.py Thu May 07 15:08:25 2009 +0300 +++ b/mercurial/commands.py Tue Apr 28 17:40:46 2009 +0200 @@ -8,10 +8,11 @@ from node import hex, nullid, nullrev, short from lock import release from i18n import _, gettext -import os, re, sys, textwrap, subprocess +import os, re, sys, textwrap, subprocess, difflib, time import hg, util, revlog, bundlerepo, extensions, copies, context, error -import difflib, patch, time, help, mdiff, tempfile, url, encoding -import archival, changegroup, cmdutil, hgweb.server, sshserver, hbisect +import patch, help, mdiff, tempfile, url, encoding +import archival, changegroup, cmdutil, sshserver, hbisect +from hgweb import server import merge as merge_ # Commands start here, listed alphabetically @@ -2698,7 +2699,7 @@ class service: def init(self): util.set_signal_handler() - self.httpd = hgweb.server.create_server(baseui, repo) + self.httpd = server.create_server(baseui, repo) if not ui.verbose: return