diff tests/test-topic-stack.t @ 2985:f63c97c01f92

topics/ui: signal when the topics command creates a new (empty) topic
author Aurélien Campéas
date Tue, 26 Sep 2017 12:29:15 +0200
parents 7759d040d48d
children 4746b92cc1f8
line wrap: on
line diff
--- a/tests/test-topic-stack.t	Tue Sep 26 12:27:43 2017 +0200
+++ b/tests/test-topic-stack.t	Tue Sep 26 12:29:15 2017 +0200
@@ -13,6 +13,7 @@
   $ hg init main
   $ cd main
   $ hg topic other
+  marked working directory as topic: other
   $ echo aaa > aaa
   $ hg add aaa
   $ hg commit -m c_a
@@ -238,6 +239,7 @@
   abort: cannot resolve "t2": no active topic
   [255]
   $ hg topic foo
+  marked working directory as topic: foo
   $ hg up t42
   abort: cannot resolve "t42": topic "foo" has only 4 changesets
   [255]
@@ -568,6 +570,7 @@
   $ hg commit -Am 'c_A'
   adding aaa
   $ hg topic red
+  marked working directory as topic: red
   $ echo bbb > bbb
   $ hg commit -Am 'c_B'
   adding bbb