Bug 2281 - hgwebdir doesn't use alternative template paths configured in hgrc
Summary: hgwebdir doesn't use alternative template paths configured in hgrc
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 08:15 UTC by Christian Fischer
Modified: 2012-05-13 05:09 UTC (History)
4 users (show)

See Also:
Python Version: ---


Attachments
(34 bytes, application/octet-stream)
2010-07-12 08:15 UTC, Christian Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Fischer 2010-07-12 08:15 UTC
If you're using an alternative templates path in your global hgrc file, the
hgwebdir class doesn't use this configuration and still displays the index
file with the default template.

I have created a patch, which should resolve this problem.
Comment 1 Dirkjan Ochtman 2010-07-12 08:36 UTC
Hmm, looks good to me.
Comment 2 Matt Mackall 2010-07-12 09:05 UTC
Patches go to mercurial-devel@selenic.com.
Comment 3 HG Bot 2010-07-22 08:00 UTC
Fixed by http://hg.intevation.org/mercurial/crew/rev/48163c39e1f1
(hgwebdir: use template paths configured in the hgrc (issue2281))
Comment 4 Bugzilla 2012-05-12 09:10 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:10 EDT  ---

This bug was previously known as _bug_ 2281 at http://mercurial.selenic.com/bts/issue2281
Imported an attachment (id=1432)