hgbook: chapter on templates

Yuya Nishihara yuya at tcha.org
Wed Jul 27 09:33:03 EDT 2016


On Tue, 26 Jul 2016 12:36:19 -0400, Augie Fackler wrote:
> On Tue, Jul 26, 2016 at 11:31 AM, Matt Mackall <mpm at selenic.com> wrote:
> > I thought we'd added a way to extend the search path for templates, but it
> > appears to apply only to hgweb.
> 
> I think even that only lets you add a single entry. Ross Light (the
> guy with sandstorm patches) indicated to me he'd look into a way to
> add multiple entries without breaking people. Maybe we should make it
> apply for these templates too?

ui.templatepaths makes some sense to me. We'll have to pass ui to
templater.templatepaths(), .stylemap(), .frommapfile(), etc.


More information about the Mercurial-devel mailing list