changeset 2935:6f7f8c6fcfb0

topics: add tests for cases when a topic is empty
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 01 Sep 2017 15:09:59 +0530
parents e16981ccfca9
children 3a9303b7b648
files tests/test-topic.t
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 .^