[PATCH 0 of 2] hgweb improvements, next iteration

Alexander Solovyov piranha at piranha.org.ua
Mon Apr 27 14:25:45 CDT 2009


In this iteration I fixed trouble with can happen with zeroconf, which wraps
ui.configitems() method (and then yielding non-local paths). 

Second patch (for absolute urls) is not changed. In case you are interested how
SCRIPT_NAME is linked with web.baseurl, look at hgwebdir_mod.py:271:

        if self._baseurl is not None:
            req.env['SCRIPT_NAME'] = self._baseurl


More information about the Mercurial-devel mailing list