[PATCH 0 of 6] Handle nonexistent repositories in hgweb.py

Ollivier Robert roberto at keltia.freenix.fr
Wed Aug 24 10:47:22 CDT 2005


Here is a serie of changesets for handling nonexistent repositories in hgwebdir.It uses a template for the 404 error page generated (although the template 
itself needs more work it is usable).

It is pullable from http://archives.keltia.net/hg/hg-hgweb

(please note that I'm a python newbie so there may be a better way to write
this).

Thanks to ThomasAH & Vincent (hannnibal__) on IRC.
-------------- next part --------------
3 files changed, 72 insertions(+), 53 deletions(-)
mercurial/hgweb.py      |  112 ++++++++++++++++++++++++-----------------------
templates/map           |    1 
templates/notfound.tmpl |   12 +++++


More information about the Mercurial mailing list