diff tests/test-topic.t @ 1853:8db7828751b7

topic: wrap the underlying update function rather than the command This more properly manages the updates done by things like rebase.
author Matt Mackall <mpm@selenic.com>
date Fri, 12 Jun 2015 16:39:39 -0500
parents 3084687f7994
children a506ed8ab8da
line wrap: on
line diff
--- a/tests/test-topic.t	Wed Jun 10 17:52:07 2015 -0500
+++ b/tests/test-topic.t	Fri Jun 12 16:39:39 2015 -0500
@@ -77,8 +77,8 @@
   $ hg ci -m 'start on fran'
   created new head
   $ hg co narf
+  switching to topic narf
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  switching to topic narf
   $ hg topic
      fran
    * narf
@@ -243,8 +243,8 @@
    * query
   $ cd ../pinky
   $ hg co query
+  switching to topic query
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  switching to topic query
   $ echo answer >> alpha
   $ hg ci -m 'Narf is like `zort` or `poit`!'
   $ hg merge narf
@@ -447,8 +447,8 @@
 Move to fran, note that the topic activates, then deactivate the topic.
 
   $ hg co fran
+  switching to topic fran
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  switching to topic fran
   $ hg topics
    * fran
   $ hg topics --clear