--- a/mercurial/templatekw.py Fri Jan 06 15:48:22 2017 +0100
+++ b/mercurial/templatekw.py Fri Jan 06 13:50:16 2017 +0100
@@ -595,5 +595,13 @@
"""Integer. The width of the current terminal."""
return repo.ui.termwidth()
+@templatekeyword('troubles')
+def showtroubles(**args):
+ """List of strings. Evolution troubles affecting the changeset.
+
+ (EXPERIMENTAL)
+ """
+ return showlist('trouble', args['ctx'].troubles(), **args)
+
# tell hggettext to extract docstrings from these functions:
i18nfunctions = keywords.values()