changeset 2837:cec8609bb396

context: troubles was deprecated Use instabilities instead. Match ab0c55c2ad9a mercurial changeset.
author Boris Feld <boris.feld@octobus.net>
date Thu, 10 Aug 2017 20:31:39 +0200
parents feaa52680682
children 1c9150e30b28
files hgext3rd/evolve/templatekw.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/templatekw.py	Thu Aug 10 19:31:55 2017 +0200
+++ b/hgext3rd/evolve/templatekw.py	Thu Aug 10 20:31:39 2017 +0200
@@ -41,10 +41,10 @@
     ctx = args['ctx']
     try:
         # specify plural= explicitly to trigger TypeError on hg < 4.2
-        return templatekw.showlist('trouble', ctx.troubles(), args,
+        return templatekw.showlist('trouble', ctx.instabilities(), args,
                                    plural='troubles')
     except TypeError:
-        return templatekw.showlist('trouble', ctx.troubles(), plural='troubles',
+        return templatekw.showlist('trouble', ctx.instabilities(), plural='troubles',
                                    **args)
 
 def closestprecursors(repo, nodeid):