# HG changeset patch # User Boris Feld # Date 1502389899 -7200 # Node ID cec8609bb396bdb8a6b77762c85f101c6941f0bc # Parent feaa52680682ec22d378cb4e6ab4e43618604cdf context: troubles was deprecated Use instabilities instead. Match ab0c55c2ad9a mercurial changeset. diff -r feaa52680682 -r cec8609bb396 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):