# HG changeset patch # User Matt Harbison <matt_harbi...@yahoo.com> # Date 1517633637 18000 # Fri Feb 02 23:53:57 2018 -0500 # Node ID 859ae990404c55b790e297a17bd65ccb89cee9cb # Parent b71a66ddae5be734a660be91aa6ceadcff59c541 templatekw: drop the deprecated '{troubles}' keyword
diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py --- a/mercurial/templatekw.py +++ b/mercurial/templatekw.py @@ -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. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel