diff tests/test-topic-rebase.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 d12c82fd1143
children f7129e3d5a38
line wrap: on
line diff
--- a/tests/test-topic-rebase.t	Wed Jan 10 10:54:02 2018 +0000
+++ b/tests/test-topic-rebase.t	Tue Jan 09 23:42:57 2018 +0530
@@ -28,7 +28,7 @@
   >    hg ci -m "add $1" $2 $3
   > }
   $ logtopic() {
-  >    hg log -G -T "{rev}:{node}\ntopics: {topics}" 
+  >    hg log -G -T "{rev}:{node}\ntopics: {topic}" 
   > }
 
 Check that rebase keep the topic in the simple case (1 changeset, no merge conflict)