comparison tests/test-topic-stack-data.t @ 3384:2b06f144b6e0

topics: add a new templatekeyword `topic` This patch adds a new templatekeyword topic which can be used to list the topic of the changeset when using commands which supports templating.
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 09 Jan 2018 23:42:57 +0530
parents 4138771105bb
children f7129e3d5a38
comparison
equal deleted inserted replaced
3383:733e01473ec2 3384:2b06f144b6e0
112 update: 2 new changesets (update) 112 update: 2 new changesets (update)
113 phases: 22 draft 113 phases: 22 draft
114 orphan: 3 changesets 114 orphan: 3 changesets
115 topic: foo 115 topic: foo
116 $ hg log --graph -T '{desc} ({branch}) [{topic}]' 116 $ hg log --graph -T '{desc} ({branch}) [{topic}]'
117 @ add foo_b (lake) [] 117 @ add foo_b (lake) [foo]
118 | 118 |
119 o add foo_a (lake) [] 119 o add foo_a (lake) [foo]
120 | 120 |
121 | o bar1_d (default) [] 121 | o bar1_d (default) [bar]
122 | | 122 | |
123 | | * add bar_e (default) [] 123 | | * add bar_e (default) [bar]
124 | | | 124 | | |
125 | | x add bar_d (default) [] 125 | | x add bar_d (default) [bar]
126 | |/ 126 | |/
127 | | o add bar_c (default) [] 127 | | o add bar_c (default) [bar]
128 | |/ 128 | |/
129 | o add bar_b (default) [] 129 | o add bar_b (default) [bar]
130 | | 130 | |
131 | o add bar_a (default) [] 131 | o add bar_a (default) [bar]
132 | | 132 | |
133 | | o fuz1_a (default) [] 133 | | o fuz1_a (default) [fuz]
134 | | | 134 | | |
135 | | | * add fuz_c (default) [] 135 | | | * add fuz_c (default) [fuz]
136 | | | | 136 | | | |
137 | | | * add fuz_b (default) [] 137 | | | * add fuz_b (default) [fuz]
138 | | | | 138 | | | |
139 | | | x add fuz_a (default) [] 139 | | | x add fuz_a (default) [fuz]
140 | | |/ 140 | | |/
141 | | | o add baz_b (default) [] 141 | | | o add baz_b (default) [baz]
142 | | | | 142 | | | |
143 | | | o add baz_a (default) [] 143 | | | o add baz_a (default) [baz]
144 | | | | 144 | | | |
145 +-------o add lake_c (lake) [] 145 +-------o add lake_c (lake) []
146 | | | | 146 | | | |
147 +-------o add lake_b (lake) [] 147 +-------o add lake_b (lake) []
148 | | | | 148 | | | |