diff -r 0011316fbe0e -r 5be210afe1b8 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Mon Jan 28 13:42:40 2008 +0100 +++ b/mercurial/hgweb/webcommands.py Mon Jan 28 14:58:03 2008 +0100 @@ -9,6 +9,15 @@ from mercurial import revlog, util, hg from common import staticfile, ErrorResponse +# __all__ is populated with the allowed commands. Be sure to add to it if +# you're adding a new command, or the new command won't work. + +__all__ = [ + 'log', 'rawfile', 'file', 'changelog', 'shortlog', 'changeset', 'rev', + 'manifest', 'tags', 'summary', 'filediff', 'diff', 'annotate', 'filelog', + 'archive', 'static', +] + def log(web, req, tmpl): if 'file' in req.form and req.form['file'][0]: filelog(web, req, tmpl)