[PATCH 2 of 4] commands: add template support for version

Anton Shestakov engored at ya.ru
Mon Aug 8 23:58:17 EDT 2016


08.08.2016, 23:54, "Mathias De Mar" <mathias.demare at gmail.com>:
> # HG changeset patch
> # User Mathias De Maré <mathias.demare at gmail.com>
> # Date 1470113194 -7200
> # Tue Aug 02 06:46:34 2016 +0200
> # Node ID 2a711c2a71c1e5e562fc988cfe9011ebf3d8e6e9
> # Parent 4fb94670f2a3eb0247a040f0506a2f6580e3dca9
> commands: add template support for version
>
> Example output (lines shortened manually):
> hg version -Tjson -v
> [
>  {
>   "enabledextensions": {"purge" : {"version" : "", "place" : "internal"} },

If you're going to use ': ' in the first patch, don't forget to update this example.


More information about the Mercurial-devel mailing list