Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/hgweb/__init__.py @ 2311:b832b6eb65ab
Moving hgweb.py into it's own module in preparation for breaking it up.
author | Eric Hopper <hopper@omnifarious.org> |
---|---|
date | Thu, 18 May 2006 11:48:33 -0700 |
parents | mercurial/hgweb.py@714f4d25a7a9 |
children | f789602ba840 |
line wrap: on
line diff
copy from mercurial/hgweb.py copy to mercurial/hgweb/__init__.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb/__init__.py @@ -8,12 +8,12 @@ import os, cgi, sys import mimetypes -from demandload import demandload -demandload(globals(), "mdiff time re socket zlib errno ui hg ConfigParser") -demandload(globals(), "tempfile StringIO BaseHTTPServer util SocketServer") -demandload(globals(), "archival mimetypes templater urllib") -from node import * -from i18n import gettext as _ +from mercurial.demandload import demandload +demandload(globals(), "time re socket zlib errno ConfigParser tempfile") +demandload(globals(), "StringIO BaseHTTPServer SocketServer urllib") +demandload(globals(), "mercurial:mdiff,ui,hg,util,archival,templater") +from mercurial.node import * +from mercurial.i18n import gettext as _ def splitURI(uri): """ Return path and query splited from uri