context: troubles was deprecated
Use instabilities instead.
Match ab0c55c2ad9a mercurial changeset.
--- 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):