context: troubles was deprecated
authorBoris Feld <boris.feld@octobus.net>
Thu, 10 Aug 2017 20:31:39 +0200
changeset 2837 cec8609bb396
parent 2836 feaa52680682
child 2838 1c9150e30b28
context: troubles was deprecated Use instabilities instead. Match ab0c55c2ad9a mercurial changeset.
hgext3rd/evolve/templatekw.py
--- 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):