templatekw: drop the deprecated '{troubles}' keyword
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 02 Feb 2018 23:53:57 -0500
changeset 35894 6289482f6ab5
parent 35893 78f33dedadd0
child 35895 265e91da56fd
templatekw: drop the deprecated '{troubles}' keyword
mercurial/templatekw.py
--- a/mercurial/templatekw.py	Fri Feb 02 23:52:19 2018 -0500
+++ b/mercurial/templatekw.py	Fri Feb 02 23:53:57 2018 -0500
@@ -893,17 +893,6 @@
     """Integer. The width of the current terminal."""
     return repo.ui.termwidth()
 
-@templatekeyword('troubles')
-def showtroubles(repo, **args):
-    """List of strings. Evolution troubles affecting the changeset.
-    (DEPRECATED)
-    """
-    msg = ("'troubles' is deprecated, "
-           "use 'instabilities'")
-    repo.ui.deprecwarn(msg, '4.4')
-
-    return showinstabilities(repo=repo, **args)
-
 @templatekeyword('instabilities')
 def showinstabilities(**args):
     """List of strings. Evolution instabilities affecting the changeset.