tests/test-topic-list.t
changeset 1978 e42dd4523c0d
parent 1977 137f8b04901e
child 1979 bee7a1ef8ba8
equal deleted inserted replaced
1977:137f8b04901e 1978:e42dd4523c0d
   171   fuz
   171   fuz
   172 
   172 
   173 verbose
   173 verbose
   174 
   174 
   175   $ hg topic --verbose
   175   $ hg topic --verbose
   176      bar	(5 changesets)
   176      bar	(5 changesets, 1 troubled)
   177      baz	(2 changesets)
   177      baz	(2 changesets)
   178    * foo	(2 changesets)
   178    * foo	(2 changesets)
   179      fuz	(3 changesets)
   179      fuz	(3 changesets, 2 troubled)
   180 
   180 
   181 json
   181 json
   182 
   182 
   183   $ hg topic -T json
   183   $ hg topic -T json
   184   [
   184   [
   205   $ hg topic -T json --verbose
   205   $ hg topic -T json --verbose
   206   [
   206   [
   207    {
   207    {
   208     "active": false,
   208     "active": false,
   209     "changesetcount": 5,
   209     "changesetcount": 5,
   210     "topic": "bar"
   210     "topic": "bar",
       
   211     "troubledcount": 1
   211    },
   212    },
   212    {
   213    {
   213     "active": false,
   214     "active": false,
   214     "changesetcount": 2,
   215     "changesetcount": 2,
   215     "topic": "baz"
   216     "topic": "baz"
   220     "topic": "foo"
   221     "topic": "foo"
   221    },
   222    },
   222    {
   223    {
   223     "active": false,
   224     "active": false,
   224     "changesetcount": 3,
   225     "changesetcount": 3,
   225     "topic": "fuz"
   226     "topic": "fuz",
       
   227     "troubledcount": 2
   226    }
   228    }
   227   ]
   229   ]