comparison README @ 2341:a5117a5becf8 stable

ui: Fix hg stack json output Previously 'hg stack -Tjson' generated invalid output like: [ { "isentry": true, "topic.stack.desc": "...", "topic.stack.index": 1, "topic.stack.state": "current", "topic.stack.state.symbol": "@" } ] , { "isentry": true, "topic.stack.desc": "...", "topic.stack.index": 1, "topic.stack.state": "current", "topic.stack.state.symbol": "@" }, { "isentry": false, "topic.stack.desc": "...", "topic.stack.state": "base", "topic.stack.state.symbol": "^" } ] I de-indented the fmt.end() to generate this output: [ { "isentry": true, "topic.stack.desc": "...", "topic.stack.index": 1, "topic.stack.state": "current", "topic.stack.state.symbol": "@" }, { "isentry": false, "topic.stack.desc": "...", "topic.stack.state": "base", "topic.stack.state.symbol": "^" } ] I've also added a test case.
author Boris Feld <boris.feld@octobus.net>
date Wed, 10 May 2017 09:55:22 +0200
parents d49f376598f8
children 5737e0680f10
comparison
equal deleted inserted replaced
2331:d49f376598f8 2341:a5117a5becf8
114 114
115 6.1.1 - in progress 115 6.1.1 - in progress
116 ------------------- 116 -------------------
117 117
118 - also enable the new cache (from 6.1.0) for 'evolve.server-only', 118 - also enable the new cache (from 6.1.0) for 'evolve.server-only',
119 - fix hg stack json output to be valid json
119 120
120 6.1.0 -- 2017-05-03 121 6.1.0 -- 2017-05-03
121 ------------------- 122 -------------------
122 123
123 - improve message about obsolete working copy parent, 124 - improve message about obsolete working copy parent,