First pieces of generic templating support

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Feb 21 02:27:13 CST 2012


On Tue, Feb 21, 2012 at 09:25, Matt Mackall <mpm at selenic.com> wrote:
>> Be aware that, while this looks like it's valid JSON, JSON technically
>> doesn't allow the trailing comma in either lists or objects. This is a
>> big pain for simple templating systems (and the reason I didn't come
>> up with JSON styles under the previous templating regime).
>
> This particular debug format is actually intended to be.. nothing in
> particular. Any similarity to JSON is coincidental.

I figured that out, just wanted to warn about the trailing comma stuff.

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list