Mercurial > evolve
diff 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 |
line wrap: on
line diff
--- a/tests/test-topic-stack-data.t Wed Jan 10 10:54:02 2018 +0000 +++ b/tests/test-topic-stack-data.t Tue Jan 09 23:42:57 2018 +0530 @@ -114,33 +114,33 @@ orphan: 3 changesets topic: foo $ hg log --graph -T '{desc} ({branch}) [{topic}]' - @ add foo_b (lake) [] + @ add foo_b (lake) [foo] | - o add foo_a (lake) [] + o add foo_a (lake) [foo] | - | o bar1_d (default) [] + | o bar1_d (default) [bar] | | - | | * add bar_e (default) [] + | | * add bar_e (default) [bar] | | | - | | x add bar_d (default) [] + | | x add bar_d (default) [bar] | |/ - | | o add bar_c (default) [] + | | o add bar_c (default) [bar] | |/ - | o add bar_b (default) [] + | o add bar_b (default) [bar] | | - | o add bar_a (default) [] + | o add bar_a (default) [bar] | | - | | o fuz1_a (default) [] + | | o fuz1_a (default) [fuz] | | | - | | | * add fuz_c (default) [] + | | | * add fuz_c (default) [fuz] | | | | - | | | * add fuz_b (default) [] + | | | * add fuz_b (default) [fuz] | | | | - | | | x add fuz_a (default) [] + | | | x add fuz_a (default) [fuz] | | |/ - | | | o add baz_b (default) [] + | | | o add baz_b (default) [baz] | | | | - | | | o add baz_a (default) [] + | | | o add baz_a (default) [baz] | | | | +-------o add lake_c (lake) [] | | | |