template: test that topic is accessible through template
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 08 Oct 2015 21:09:47 -0700
changeset 1869 995617c7f2fc
parent 1868 5cdd5e0a421c
child 1870 8dd5200b4086
template: test that topic is accessible through template This comes free with the namespace feature but it is good to have.
tests/test-topic.t
--- 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