tests/test-topic-stack.t
changeset 1996 5c40dd2cf131
parent 1995 54d6dff699f0
child 1998 302be26a3fd8
equal deleted inserted replaced
1995:54d6dff699f0 1996:5c40dd2cf131
    52   $ hg up other
    52   $ hg up other
    53   switching to topic other
    53   switching to topic other
    54   0 files updated, 0 files merged, 4 files removed, 0 files unresolved
    54   0 files updated, 0 files merged, 4 files removed, 0 files unresolved
    55   $ hg topic --list
    55   $ hg topic --list
    56   ### topic: other
    56   ### topic: other
       
    57   ### branch: default
    57   t2@ c_b (current)
    58   t2@ c_b (current)
    58   t1: c_a
    59   t1: c_a
    59   $ hg phase --public 'topic("other")'
    60   $ hg phase --public 'topic("other")'
    60   $ hg up foo
    61   $ hg up foo
    61   switching to topic foo
    62   switching to topic foo
    68 
    69 
    69   $ hg topic
    70   $ hg topic
    70    * foo
    71    * foo
    71   $ hg stack
    72   $ hg stack
    72   ### topic: foo
    73   ### topic: foo
       
    74   ### branch: default
    73   t4@ c_f (current)
    75   t4@ c_f (current)
    74   t3: c_e
    76   t3: c_e
    75   t2: c_d
    77   t2: c_d
    76   t1: c_c
    78   t1: c_c
    77     ^ c_b
    79     ^ c_b
   125   |
   127   |
   126   o  0 default {} public c_a
   128   o  0 default {} public c_a
   127   
   129   
   128   $ hg topic --list
   130   $ hg topic --list
   129   ### topic: foo
   131   ### topic: foo
       
   132   ### branch: default
   130   t4$ c_f (unstable)
   133   t4$ c_f (unstable)
   131   t3$ c_e (unstable)
   134   t3$ c_e (unstable)
   132   t2@ c_d (current)
   135   t2@ c_d (current)
   133   t1: c_c
   136   t1: c_c
   134     ^ c_b
   137     ^ c_b
   194 
   197 
   195 Test output
   198 Test output
   196 
   199 
   197   $ hg top -l
   200   $ hg top -l
   198   ### topic: foo
   201   ### topic: foo
       
   202   ### branch: default
   199   t6: c_f
   203   t6: c_f
   200   t5: c_e
   204   t5: c_e
   201   t2^ c_d (base)
   205   t2^ c_d (base)
   202   t4@ c_h (current)
   206   t4@ c_h (current)
   203   t3: c_g
   207   t3: c_g
   237   o  0 default {} public c_a
   241   o  0 default {} public c_a
   238   
   242   
   239 
   243 
   240   $ hg topic --list
   244   $ hg topic --list
   241   ### topic: foo
   245   ### topic: foo
       
   246   ### branch: default
   242   t6$ c_f (unstable)
   247   t6$ c_f (unstable)
   243   t5$ c_e (unstable)
   248   t5$ c_e (unstable)
   244   t2^ c_D (base)
   249   t2^ c_D (base)
   245   t4: c_h
   250   t4: c_h
   246   t3: c_g
   251   t3: c_g