Mercurial > evolve
diff tests/test-topic-list.t @ 1978:e42dd4523c0d
topic: list the number of troubled changesets when --verbose is used
Displaying more information in the topic list is useful, we continue with the
number of troubled changesets. This will help people to spot topics that needs
evolution, for example after a pull.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Sat, 13 Aug 2016 01:24:10 +0200 |
parents | 137f8b04901e |
children | bee7a1ef8ba8 |
line wrap: on
line diff
--- a/tests/test-topic-list.t Fri Aug 12 23:59:37 2016 +0200 +++ b/tests/test-topic-list.t Sat Aug 13 01:24:10 2016 +0200 @@ -173,10 +173,10 @@ verbose $ hg topic --verbose - bar (5 changesets) + bar (5 changesets, 1 troubled) baz (2 changesets) * foo (2 changesets) - fuz (3 changesets) + fuz (3 changesets, 2 troubled) json @@ -207,7 +207,8 @@ { "active": false, "changesetcount": 5, - "topic": "bar" + "topic": "bar", + "troubledcount": 1 }, { "active": false, @@ -222,6 +223,7 @@ { "active": false, "changesetcount": 3, - "topic": "fuz" + "topic": "fuz", + "troubledcount": 2 } ]