tests/test-topic.t
changeset 3060 f43a310c4338
parent 3037 5c8d5f980f49
child 3075 8feb2cae7eae
--- a/tests/test-topic.t	Fri Oct 13 10:01:38 2017 +0530
+++ b/tests/test-topic.t	Fri Oct 13 10:18:52 2017 +0530
@@ -132,13 +132,13 @@
   [255]
   $ hg revert alpha
   $ hg topic
-   * topicflag
+   * topicflag (0 changesets)
 
 Make a topic
 
   $ hg topic narf
   $ hg topics
-   * narf
+   * narf (0 changesets)
   $ hg topics -v
    * narf (on branch: default, 0 changesets)
   $ hg stack
@@ -157,8 +157,8 @@
   $ hg topic fran
   marked working directory as topic: fran
   $ hg topics
-   * fran
-     narf
+   * fran (0 changesets)
+     narf (1 changesets)
   $ hg topics --current
   fran
   $ echo >> fran work >> beta
@@ -168,8 +168,8 @@
   switching to topic narf
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg topic
-     fran
-   * narf
+     fran (1 changesets)
+   * narf (1 changesets)
   $ hg log -r . -T '{topics}\n'
   narf
   $ echo 'narf!!!' >> alpha
@@ -373,7 +373,7 @@
   |
 
   $ hg topics
-   * query
+   * query (1 changesets)
   $ cd ../pinky
   $ hg co query
   switching to topic query
@@ -392,9 +392,9 @@
   $ hg topic narf
   $ hg ci -m 'Finish narf'
   $ hg topics
-     fran
-   * narf
-     query
+     fran  (1 changesets)
+   * narf  (2 changesets)
+     query (2 changesets)
   $ hg debugnamecomplete # branch:topic here is a buggy side effect
   default
   default:fran
@@ -411,8 +411,8 @@
 narf commits public:
 
   $ hg topics
-     fran
-   * narf
+     fran (1 changesets)
+   * narf (0 changesets)
   $ hg log -Gl 6
   @    changeset:   9:ae074045b7a7
   |\   tag:         tip
@@ -454,7 +454,7 @@
 
   $ cd ../brain
   $ hg topics
-   * query
+   * query (1 changesets)
   $ hg pull ../pinky -r narf
   pulling from ../pinky
   abort: unknown revision 'narf'!
@@ -469,7 +469,7 @@
   active topic 'query' is now empty
   (run 'hg update' to get a working copy)
   $ hg topics
-   * query
+   * query (0 changesets)
 
 We can pull in the draft-phase change and we get the new topic
 
@@ -482,8 +482,8 @@
   added 1 changesets with 1 changes to 1 files (+1 heads)
   (run 'hg heads' to see heads)
   $ hg topics
-     fran
-   * query
+     fran  (1 changesets)
+   * query (0 changesets)
   $ hg log -Gr 'draft()'
   o  changeset:   9:0469d521db49
   |  tag:         tip
@@ -500,7 +500,7 @@
   $ hg topics --clear
   clearing empty topic "query"
   $ hg topics
-     fran
+     fran (1 changesets)
 
 Topic revset
   $ hg log -r 'topic()' -G
@@ -587,7 +587,7 @@
 
 Match current topic:
   $ hg topic
-     fran
+     fran (1 changesets)
   $ hg log -r 'topic(.)'
 (no output is expected)
   $ hg co fran
@@ -605,7 +605,7 @@
 
 Deactivate the topic.
   $ hg topics
-   * fran
+   * fran (1 changesets)
   $ hg topics --clear
   $ echo fran? >> beta
   $ hg ci -m 'fran?'
@@ -626,7 +626,7 @@
   |
 
   $ hg topics
-     fran
+     fran (1 changesets)
 
 Testing for updating to t0
 ==========================
@@ -645,7 +645,7 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
   $ hg topic
-   * fran
+   * fran (1 changesets)
   $ hg stack
   ### topic: fran
   ### target: default (branch), ambigious rebase destination - branch 'default' has 2 heads
@@ -730,9 +730,9 @@
      summary:     added a
   
   $ hg topics
-     topic1970
-     topic1990
-   * topic2010
+     topic1970 (1 changesets)
+     topic1990 (1 changesets)
+   * topic2010 (1 changesets)
 
   $ hg topics --age
    * topic2010 (2010-01-01 by bar)