topics: add tests for cases when a topic is empty
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 01 Sep 2017 15:09:59 +0530
changeset 2935 6f7f8c6fcfb0
parent 2934 e16981ccfca9
child 2936 3a9303b7b648
topics: add tests for cases when a topic is empty
tests/test-topic.t
--- a/tests/test-topic.t	Fri Sep 15 16:28:59 2017 +0200
+++ b/tests/test-topic.t	Fri Sep 01 15:09:59 2017 +0530
@@ -134,9 +134,18 @@
    * topicflag
 
 Make a topic
+
   $ hg topic narf
   $ hg topics
    * narf
+  $ hg topics -v
+   * narf (on branch: , 0 changesets)
+  $ hg stack
+  ### topic: narf
+  ### branch: 
+
+Add commits to topic
+
   $ echo topic work >> alpha
   $ hg ci -m 'start on narf'
   $ hg co .^