diff tests/test-topic-stack.t @ 1954:61f36480740f

stack: start indexing at 't1' instead of 't0' I think 't0' could have special meaning (eg: before 't1', but still with topic activated) so let's keep room for that. Indexing from 1 is not crazy anyway.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 01 Apr 2016 16:40:19 -0700
parents bdc5bb223b50
children d8f1e432b16a
line wrap: on
line diff
--- a/tests/test-topic-stack.t	Wed Mar 30 23:58:30 2016 -0700
+++ b/tests/test-topic-stack.t	Fri Apr 01 16:40:19 2016 -0700
@@ -55,10 +55,10 @@
    * foo
   $ hg topic --list
     _ c_b
-  t0: c_c
-  t1: c_d
-  t2: c_e
-  t3@ c_f (current)
+  t1: c_c
+  t2: c_d
+  t3: c_e
+  t4@ c_f (current)
 
 error case, nothing to list
 
@@ -103,10 +103,10 @@
   
   $ hg topic --list
     _ c_b
-  t0: c_c
-  t1@ c_d (current)
-  t2$ c_e (unstable)
-  t3$ c_f (unstable)
+  t1: c_c
+  t2@ c_d (current)
+  t3$ c_e (unstable)
+  t4$ c_f (unstable)
 
 Also test the revset:
 
@@ -171,13 +171,13 @@
 
   $ hg top -l
     _ c_b
-  t0: c_c
-  t1: c_d
-  t2: c_g
-  t3@ c_h (current)
+  t1: c_c
+  t2: c_d
+  t3: c_g
+  t4@ c_h (current)
     _ c_d
-  t4: c_e
-  t5: c_f
+  t5: c_e
+  t6: c_f
 
 Case with multiple heads on the topic with unstability involved
 ---------------------------------------------------------------
@@ -213,10 +213,10 @@
 
   $ hg topic --list
     _ c_b
-  t0: c_c
-  t1@ c_D (current)
-  t2: c_g
-  t3: c_h
+  t1: c_c
+  t2@ c_D (current)
+  t3: c_g
+  t4: c_h
     _ c_D
-  t4$ c_e (unstable)
-  t5$ c_f (unstable)
+  t5$ c_e (unstable)
+  t6$ c_f (unstable)