Mercurial > hg
diff mercurial/templatekw.py @ 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 | c8e2d6ed1f9e |
children | 230489fc0b41 |
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.