[PATCH 6 of 8] templatekw: drop the deprecated '{troubles}' keyword
Matt Harbison
mharbison72 at gmail.com
Sat Feb 3 06:35:02 UTC 2018
# HG changeset patch
# User Matt Harbison <matt_harbison at 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()
- at 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.
More information about the Mercurial-devel
mailing list