# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1504258799 -19800 # Node ID 6f7f8c6fcfb0884641e7daa656628685d941f5f8 # Parent e16981ccfca9e95ed1f4bdc617ed3b3d95b22dbf topics: add tests for cases when a topic is empty diff -r e16981ccfca9 -r 6f7f8c6fcfb0 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 .^