json output using mercurial templates

Dirkjan Ochtman dirkjan at ochtman.nl
Wed Nov 24 09:19:50 UTC 2010


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?

Cheers,

Dirkjan



More information about the Mercurial mailing list