tests/test-topic-stack.t
changeset 4436 ef155f624670
parent 4432 5da1d162ad50
child 4511 e4fc3af2d0a9
child 4654 0d05dcb8dd37
equal deleted inserted replaced
4435:7915aef191ff 4436:ef155f624670
   340   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   340   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   341   $ hg topic --list
   341   $ hg topic --list
   342   ### topic: foo
   342   ### topic: foo
   343   ### target: default (branch)
   343   ### target: default (branch)
   344   s4$ c_f (orphan)
   344   s4$ c_f (orphan)
   345   s3$ c_e (current orphan)
   345   s3@ c_e (current orphan)
   346   s2: c_d
   346   s2: c_d
   347   s1: c_c
   347   s1: c_c
   348   s0^ c_b (base)
   348   s0^ c_b (base)
   349   $ hg topic --list --color=debug
   349   $ hg topic --list --color=debug
   350   [topic.stack.summary.topic|### topic: [topic.active|foo]]
   350   [topic.stack.summary.topic|### topic: [topic.active|foo]]
   351   [topic.stack.summary.branches|### target: default (branch)]
   351   [topic.stack.summary.branches|### target: default (branch)]
   352   [topic.stack.index topic.stack.index.orphan|s4][topic.stack.state topic.stack.state.orphan|$] [topic.stack.desc topic.stack.desc.orphan|c_f][topic.stack.state topic.stack.state.orphan| (orphan)]
   352   [topic.stack.index topic.stack.index.orphan|s4][topic.stack.state topic.stack.state.orphan|$] [topic.stack.desc topic.stack.desc.orphan|c_f][topic.stack.state topic.stack.state.orphan| (orphan)]
   353   [topic.stack.index topic.stack.index.current topic.stack.index.orphan|s3][topic.stack.state topic.stack.state.current topic.stack.state.orphan|$] [topic.stack.desc topic.stack.desc.current topic.stack.desc.orphan|c_e][topic.stack.state topic.stack.state.current topic.stack.state.orphan| (current orphan)]
   353   [topic.stack.index topic.stack.index.current topic.stack.index.orphan|s3][topic.stack.state topic.stack.state.current topic.stack.state.orphan|@] [topic.stack.desc topic.stack.desc.current topic.stack.desc.orphan|c_e][topic.stack.state topic.stack.state.current topic.stack.state.orphan| (current orphan)]
   354   [topic.stack.index topic.stack.index.clean|s2][topic.stack.state topic.stack.state.clean|:] [topic.stack.desc topic.stack.desc.clean|c_d]
   354   [topic.stack.index topic.stack.index.clean|s2][topic.stack.state topic.stack.state.clean|:] [topic.stack.desc topic.stack.desc.clean|c_d]
   355   [topic.stack.index topic.stack.index.clean|s1][topic.stack.state topic.stack.state.clean|:] [topic.stack.desc topic.stack.desc.clean|c_c]
   355   [topic.stack.index topic.stack.index.clean|s1][topic.stack.state topic.stack.state.clean|:] [topic.stack.desc topic.stack.desc.clean|c_c]
   356   [topic.stack.index topic.stack.index.base|s0][topic.stack.state topic.stack.state.base|^] [topic.stack.desc topic.stack.desc.base|c_b][topic.stack.state topic.stack.state.base| (base)]
   356   [topic.stack.index topic.stack.index.base|s0][topic.stack.state topic.stack.state.base|^] [topic.stack.desc topic.stack.desc.base|c_b][topic.stack.state topic.stack.state.base| (base)]
   357   $ hg up s2
   357   $ hg up s2
   358   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   358   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   781   ### target: default (branch), ambiguous rebase destination - topic 'blue' has 3 heads
   781   ### target: default (branch), ambiguous rebase destination - topic 'blue' has 3 heads
   782   s3$ c_I (orphan)
   782   s3$ c_I (orphan)
   783     ^ c_H
   783     ^ c_H
   784   s2$ c_G (orphan)
   784   s2$ c_G (orphan)
   785     ^ c_F
   785     ^ c_F
   786   s1$ c_D (current orphan)
   786   s1@ c_D (current orphan)
   787   s0^ c_C (base orphan)
   787   s0^ c_C (base orphan)
   788 
   788 
   789 more obsolescence
   789 more obsolescence
   790 
   790 
   791   $ hg up 'max(desc("c_H"))'
   791   $ hg up 'max(desc("c_H"))'
   855   ### target: default (branch), ambiguous rebase destination - topic 'blue' has 3 heads
   855   ### target: default (branch), ambiguous rebase destination - topic 'blue' has 3 heads
   856   s3$ c_I (orphan)
   856   s3$ c_I (orphan)
   857     ^ c_H
   857     ^ c_H
   858   s2$ c_G (orphan)
   858   s2$ c_G (orphan)
   859     ^ c_F
   859     ^ c_F
   860   s1$ c_D (current orphan)
   860   s1@ c_D (current orphan)
   861   s0^ c_C (base orphan)
   861   s0^ c_C (base orphan)
   862 
   862 
   863 Test stack behavior with a split
   863 Test stack behavior with a split
   864 --------------------------------
   864 --------------------------------
   865 
   865