##// END OF EJS Templates
templatekw: drop the deprecated '{troubles}' keyword
Matt Harbison -
r35912:6289482f default
parent child Browse files
Show More
@@ -893,17 +893,6 b' def showtermwidth(repo, ctx, templ, **ar'
893 """Integer. The width of the current terminal."""
893 """Integer. The width of the current terminal."""
894 return repo.ui.termwidth()
894 return repo.ui.termwidth()
895
895
896 @templatekeyword('troubles')
897 def showtroubles(repo, **args):
898 """List of strings. Evolution troubles affecting the changeset.
899 (DEPRECATED)
900 """
901 msg = ("'troubles' is deprecated, "
902 "use 'instabilities'")
903 repo.ui.deprecwarn(msg, '4.4')
904
905 return showinstabilities(repo=repo, **args)
906
907 @templatekeyword('instabilities')
896 @templatekeyword('instabilities')
908 def showinstabilities(**args):
897 def showinstabilities(**args):
909 """List of strings. Evolution instabilities affecting the changeset.
898 """List of strings. Evolution instabilities affecting the changeset.
General Comments 0
You need to be logged in to leave comments. Login now