changeset 1965: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
+++ b/tests/test-topic.t
@@ -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