#!/usr/bin/env python CONFIG = '/webhomes/pythy/mercurial/hgdir.conf' from fixpathinfo import fix_path_info_root_middleware from mercurial.hgweb.hgwebdir_mod import hgwebdir from mercurial.hgweb.request import wsgiapplication application = wsgiapplication(lambda: hgwebdir(CONFIG))