Mercurial > hg
changeset 35894:6289482f6ab5
templatekw: drop the deprecated '{troubles}' keyword
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 02 Feb 2018 23:53:57 -0500 |
parents | 78f33dedadd0 |
children | 265e91da56fd |
files | mercurial/templatekw.py |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- 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.