json output using mercurial templates

Jason Harris jason at jasonfharris.com
Wed Nov 24 06:56:23 CST 2010


On Nov 24, 2010, at 10:19 AM, Dirkjan Ochtman wrote:

> On Wed, Nov 24, 2010 at 10:11, Matt Mackall <mpm at selenic.com> wrote:
>> Hopefully I'll get around to making the template language more powerful
>> shortly. I plan to add:
>> 
>> - some basic conditionals
>> - filters with arguments
>> - inline subtemplates
>> - a nice list join function
>> 
>> This shouldn't be too hard to do with the simple parser tech I added for
>> revsets.
> 
> Sounds nice. Please share the proposed syntax sometime. Can you add
> all of this without regressing the templater's performance?

Yes. This does sound quite nice.

(like Dirkjan I would also worry about regressing the templater's performance as well... but it does sound nice)

Cheers,
  Jas


More information about the Mercurial mailing list