[PATCH] template: add a log --style=json template.

Matt Mackall mpm at selenic.com
Sat Sep 14 15:37:21 CDT 2013


On Wed, 2013-09-11 at 09:54 +1200, John Carter wrote:
> # HG changeset patch
> # User John Carter <john.carter at taitradio.com>
> # Date 1378848541 -43200
> # Node ID 38e756e6fb00f80f2762c3962a07a846e07176ca
> # Parent  79e5de2bfa8cd18e81e71fbba1a62eee15b5e354
> template: add map-cmdline.json to output logs in json format
> 
> Provides a very simple / low impedance format for exporting log data
> to other scripting langauges. It is nicer than map-cmdline.xml as it
> has a natural mapping to the primitive data types of most scripting
> languages.

While I like the idea of adding JSON output, I've already got plans to
do it a different way:

http://mercurial.selenic.com/wiki/GenericTemplatingPlan

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list