tests/test-topic-stack.t
changeset 3060 f43a310c4338
parent 3018 d9e998120771
child 3084 144989dabe93
equal deleted inserted replaced
3059:02b220984b01 3060:f43a310c4338
    64   active topic 'other' is now empty
    64   active topic 'other' is now empty
    65 
    65 
    66 After changing the phase of all the changesets in "other" to public, the topic should still be active, but is empty. We should be better at informating the user about it and displaying good data in this case.
    66 After changing the phase of all the changesets in "other" to public, the topic should still be active, but is empty. We should be better at informating the user about it and displaying good data in this case.
    67 
    67 
    68   $ hg topic
    68   $ hg topic
    69      foo
    69      foo   (4 changesets)
    70    * other
    70    * other (0 changesets)
    71   $ hg stack
    71   $ hg stack
    72   ### topic: other
    72   ### topic: other
    73   ### target: default (branch)
    73   ### target: default (branch)
    74   (stack is empty)
    74   (stack is empty)
    75   t0^ c_b (base)
    75   t0^ c_b (base)
    82 -----------
    82 -----------
    83 
    83 
    84 'hg stack' list all changeset in the topic
    84 'hg stack' list all changeset in the topic
    85 
    85 
    86   $ hg topic
    86   $ hg topic
    87    * foo
    87    * foo (4 changesets)
    88   $ hg stack
    88   $ hg stack
    89   ### topic: foo
    89   ### topic: foo
    90   ### target: default (branch)
    90   ### target: default (branch)
    91   t4@ c_f (current)
    91   t4@ c_f (current)
    92   t3: c_e
    92   t3: c_e
   204   ]
   204   ]
   205 
   205 
   206 check that topics and stack are available even if ui.strict=true
   206 check that topics and stack are available even if ui.strict=true
   207 
   207 
   208   $ hg topics
   208   $ hg topics
   209    * foo
   209    * foo (4 changesets)
   210   $ hg stack
   210   $ hg stack
   211   ### topic: foo
   211   ### topic: foo
   212   ### target: default (branch)
   212   ### target: default (branch)
   213   t4@ c_f (current)
   213   t4@ c_f (current)
   214   t3: c_e
   214   t3: c_e
   215   t2: c_d
   215   t2: c_d
   216   t1: c_c
   216   t1: c_c
   217   t0^ c_b (base)
   217   t0^ c_b (base)
   218   $ hg topics --config ui.strict=true
   218   $ hg topics --config ui.strict=true
   219    * foo
   219    * foo (4 changesets)
   220   $ hg stack --config ui.strict=true
   220   $ hg stack --config ui.strict=true
   221   ### topic: foo
   221   ### topic: foo
   222   ### target: default (branch)
   222   ### target: default (branch)
   223   t4@ c_f (current)
   223   t4@ c_f (current)
   224   t3: c_e
   224   t3: c_e