[PATCH 3 of 3 v2] changeset: adjust json output to use new/old

Yuya Nishihara yuya at tcha.org
Sat Feb 27 05:04:21 EST 2016


On Fri, 26 Feb 2016 12:12:42 -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1456455801 0
> #      Fri Feb 26 03:03:21 2016 +0000
> # Node ID 3e1dbbc6ece30c6207c21bb47b888b39e1052a02
> # Parent  d66dc235bd21ed08c5661fd62604d0c1bcfd0f8a
> changeset: adjust json output to use new/old

Also, this is (BC). Be aware that changing JSON format can break existing
scripts. And log output would be more widely used than other formatter commands.

> The previous json structure was not friendly to strongly structured parsing.

How was it unfriendly? Can you elaborate?


More information about the Mercurial-devel mailing list