tests/test-topic-stack.t
changeset 1898 2b65c5a6591c
parent 1897 38570c53b1cf
child 1904 f52c02bf47b7
equal deleted inserted replaced
1897:38570c53b1cf 1898:2b65c5a6591c
    55 hg topic -l list all changeset in the topic
    55 hg topic -l list all changeset in the topic
    56 
    56 
    57   $ hg topic
    57   $ hg topic
    58    * foo
    58    * foo
    59   $ hg topic --list
    59   $ hg topic --list
    60   c_c
    60   0: c_c
    61   c_d
    61   1: c_d
    62   c_e
    62   2: c_e
    63   c_f
    63   3: c_f
    64 
    64 
    65 error case, nothing to list
    65 error case, nothing to list
    66 
    66 
    67   $ hg topic --clear
    67   $ hg topic --clear
    68   $ hg topic --list
    68   $ hg topic --list
    91   o  1 default {} draft c_b
    91   o  1 default {} draft c_b
    92   |
    92   |
    93   o  0 default {} draft c_a
    93   o  0 default {} draft c_a
    94   
    94   
    95   $ hg topic --list
    95   $ hg topic --list
    96   c_c
    96   0: c_c
    97   c_d
    97   1: c_d
    98   c_e
    98   2: c_e
    99   c_f
    99   3: c_f