Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgwebdir_mod.py @ 2360:25ec4981883e
hgweb: fix tracebacks on both index and repo pages
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Thu, 01 Jun 2006 09:14:27 -0500 |
parents | a392eaa81f29 |
children | d351a3be3371 |
comparison
equal
deleted
inserted
replaced
2359:a392eaa81f29 | 2360:25ec4981883e |
---|---|
8 | 8 |
9 import os | 9 import os |
10 from mercurial.demandload import demandload | 10 from mercurial.demandload import demandload |
11 demandload(globals(), "ConfigParser") | 11 demandload(globals(), "ConfigParser") |
12 demandload(globals(), "mercurial:ui,hg,util,templater") | 12 demandload(globals(), "mercurial:ui,hg,util,templater") |
13 demandload(globals(), "mercurial.hgweb.hgweb_mod:hgweb") | |
13 demandload(globals(), "mercurial.hgweb.request:hgrequest") | 14 demandload(globals(), "mercurial.hgweb.request:hgrequest") |
15 demandload(globals(), "mercurial.hgweb.common:get_mtime,staticfile") | |
14 from mercurial.i18n import gettext as _ | 16 from mercurial.i18n import gettext as _ |
15 | 17 |
16 # This is a stopgap | 18 # This is a stopgap |
17 class hgwebdir(object): | 19 class hgwebdir(object): |
18 def __init__(self, config): | 20 def __init__(self, config): |