comparison tests/test-topic-fold.t @ 2712:f19b314d8475

topics: add t0 and b0 to the stack t0 or b0 will be the base of the stack and it's the parent of t1 or b1. The cool thing about this is that if you update to t0 using `hg up t0` or do `hg prev` on t1, you will be updated to t0 with the current topic preserved. This patch adds t0 to stack and implement the preserving topic case for t0 while using `hg update`.
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 04 Jul 2017 01:30:14 +0530
parents 2d828f448081
children 4dd84054ebbb
comparison
equal deleted inserted replaced
2711:8c938e9af113 2712:f19b314d8475
52 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 52 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
53 $ hg stack 53 $ hg stack
54 ### topic: myfeature 54 ### topic: myfeature
55 ### branch: default 55 ### branch: default
56 t1@ folded (current) 56 t1@ folded (current)
57 ^ add ROOT 57 t0^ add ROOT (base)
58 $ logtopic 58 $ logtopic
59 @ 3:4fd43e5bdc443dc8489edffac19bd8f93ccf1a5c 59 @ 3:4fd43e5bdc443dc8489edffac19bd8f93ccf1a5c
60 | topics: myfeature 60 | topics: myfeature
61 o 0:3e7df3b3b17c6deb4a1c70e790782fdf17af96a7 61 o 0:3e7df3b3b17c6deb4a1c70e790782fdf17af96a7
62 topics: 62 topics: