[issue1874] Cannot relocate hgweb templates directory

Timothy Bourke bugs at mercurial.selenic.com
Sat Oct 17 09:46:54 UTC 2009


New submission from Timothy Bourke <timbob at bigpond.com>:

Setting web/templates in hgweb.config has no effect.

To reproduce:
1. copy the templates subdirectory to /path/templates
2. rename templates/gitweb to templates/gitweb2
3. edit hgweb.config:
[web]
templates = /path/templates
style = gitweb2
4. accessing hgwebdir.cgi gives
RuntimeError: No hgweb templates found in [installation path]

Patch attached.

----------
files: hgwebdir_mod-templates-20091017.patch
messages: 10790
nosy: tbourke
priority: bug
status: unread
title: Cannot relocate hgweb templates directory

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1874>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgwebdir_mod-templates-20091017.patch
Type: application/octet-stream
Size: 889 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20091017/b426fc6e/attachment.obj 


More information about the Mercurial-devel mailing list