changeset 1869:995617c7f2fc

template: test that topic is accessible through template This comes free with the namespace feature but it is good to have.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 08 Oct 2015 21:09:47 -0700
parents 5cdd5e0a421c
children 8dd5200b4086
files tests/test-topic.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-topic.t	Fri Oct 23 13:40:44 2015 +0100
+++ b/tests/test-topic.t	Thu Oct 08 21:09:47 2015 -0700
@@ -82,6 +82,8 @@
   $ hg topic
      fran
    * narf
+  $ hg log -r . -T '{topics}\n'
+  narf
   $ echo 'narf!!!' >> alpha
   $ hg ci -m 'narf!'
   $ hg log -G