tests/test-topic-stack.t
changeset 1995 54d6dff699f0
parent 1991 ba79d23594d6
child 1996 5c40dd2cf131
equal deleted inserted replaced
1994:10d10563e2a8 1995:54d6dff699f0
    51 
    51 
    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   t2@ c_b (current)
    57   t2@ c_b (current)
    57   t1: c_a
    58   t1: c_a
    58   $ hg phase --public 'topic("other")'
    59   $ hg phase --public 'topic("other")'
    59   $ hg up foo
    60   $ hg up foo
    60   switching to topic foo
    61   switching to topic foo
    66 'hg stack' list all changeset in the topic
    67 'hg stack' list all changeset in the topic
    67 
    68 
    68   $ hg topic
    69   $ hg topic
    69    * foo
    70    * foo
    70   $ hg stack
    71   $ hg stack
       
    72   ### topic: foo
    71   t4@ c_f (current)
    73   t4@ c_f (current)
    72   t3: c_e
    74   t3: c_e
    73   t2: c_d
    75   t2: c_d
    74   t1: c_c
    76   t1: c_c
    75     ^ c_b
    77     ^ c_b
   122   o  1 default {} public c_b
   124   o  1 default {} public c_b
   123   |
   125   |
   124   o  0 default {} public c_a
   126   o  0 default {} public c_a
   125   
   127   
   126   $ hg topic --list
   128   $ hg topic --list
       
   129   ### topic: foo
   127   t4$ c_f (unstable)
   130   t4$ c_f (unstable)
   128   t3$ c_e (unstable)
   131   t3$ c_e (unstable)
   129   t2@ c_d (current)
   132   t2@ c_d (current)
   130   t1: c_c
   133   t1: c_c
   131     ^ c_b
   134     ^ c_b
   190   
   193   
   191 
   194 
   192 Test output
   195 Test output
   193 
   196 
   194   $ hg top -l
   197   $ hg top -l
       
   198   ### topic: foo
   195   t6: c_f
   199   t6: c_f
   196   t5: c_e
   200   t5: c_e
   197   t2^ c_d (base)
   201   t2^ c_d (base)
   198   t4@ c_h (current)
   202   t4@ c_h (current)
   199   t3: c_g
   203   t3: c_g
   232   |
   236   |
   233   o  0 default {} public c_a
   237   o  0 default {} public c_a
   234   
   238   
   235 
   239 
   236   $ hg topic --list
   240   $ hg topic --list
       
   241   ### topic: foo
   237   t6$ c_f (unstable)
   242   t6$ c_f (unstable)
   238   t5$ c_e (unstable)
   243   t5$ c_e (unstable)
   239   t2^ c_D (base)
   244   t2^ c_D (base)
   240   t4: c_h
   245   t4: c_h
   241   t3: c_g
   246   t3: c_g