Mercurial > evolve
comparison tests/test-topic-stack.t @ 4654:0d05dcb8dd37
stack: provide context to formatter with non-default --template
This allows using template keywords that we don't explicitly provide to the
formatter, e.g. rev, branch and topic.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 17 May 2019 17:59:58 +0800 |
parents | ef155f624670 |
children | bb0a5beb0ad8 |
comparison
equal
deleted
inserted
replaced
4653:fd4f422b0b57 | 4654:0d05dcb8dd37 |
---|---|
204 ], | 204 ], |
205 "topic.stack.state.symbol": "^" | 205 "topic.stack.state.symbol": "^" |
206 } | 206 } |
207 ] | 207 ] |
208 | 208 |
209 $ hg stack -T '{rev}: [{branch}] [{topic}] {desc}\n' | |
210 5: [default] [foo] c_f | |
211 4: [default] [foo] c_e | |
212 3: [default] [foo] c_d | |
213 2: [default] [foo] c_c | |
214 1: [default] [] c_b | |
215 | |
209 check that topics and stack are available even if ui.strict=true | 216 check that topics and stack are available even if ui.strict=true |
210 | 217 |
211 $ hg topics | 218 $ hg topics |
212 * foo (4 changesets) | 219 * foo (4 changesets) |
213 $ hg stack | 220 $ hg stack |