diff tests/test-topic-push.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 c0de0010ec30
children 62201935e1a7
line wrap: on
line diff
--- a/tests/test-topic-push.t	Tue Sep 26 12:27:43 2017 +0200
+++ b/tests/test-topic-push.t	Tue Sep 26 12:29:15 2017 +0200
@@ -126,6 +126,7 @@
   $ hg up -r 'desc(CA)'
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ hg topic babar
+  marked working directory as topic: babar
   $ echo aaa > ddd
   $ hg add ddd
   $ hg commit -m 'CD'
@@ -237,6 +238,7 @@
   $ hg up -r 'desc(CA)'
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ hg topic celeste
+  marked working directory as topic: celeste
   $ echo aaa > eee
   $ hg add eee
   $ hg commit -m 'CE'
@@ -325,6 +327,7 @@
   $ hg up 'desc(CB)'
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ hg topic babar
+  marked working directory as topic: babar
   $ echo aaa > fff
   $ hg add fff
   $ hg commit -m 'CF'
@@ -430,12 +433,14 @@
   $ echo aaa > aaa
   $ hg add aaa
   $ hg topic topicA
+  marked working directory as topic: topicA
   $ hg commit -m 'CA'
   $ hg up 'desc(CBASE)'
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ echo aaa > bbb
   $ hg add bbb
   $ hg topic topicB
+  marked working directory as topic: topicB
   $ hg commit -m 'CB'
   $ cd ..
   $ hg push -R repoA repoB