hgbook: chapter on templates

Augie Fackler raf at durin42.com
Wed Jul 27 09:52:52 EDT 2016


(+Ross as an FYI)

On Wed, Jul 27, 2016 at 9:33 AM, Yuya Nishihara <yuya at tcha.org> wrote:
> 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