Commit 8fd35e96 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

templatekw: drop {instabilities} keyword, it's in hg 4.6+

parent a9a08b3d50fb
Pipeline #6333 failed with stage
in 3 minutes and 32 seconds
......@@ -22,15 +22,6 @@ eh = exthelper.exthelper()
### template keywords
@eh.templatekeyword(b'instabilities', requires={b'ctx', b'templ'})
def showinstabilities(context, mapping):
"""List of strings. Evolution instabilities affecting the changeset
(zero or more of "orphan", "content-divergent" or "phase-divergent")."""
ctx = context.resource(mapping, b'ctx')
return templatekw.compatlist(context, mapping, b'instability',
ctx.instabilities(),
plural=b'instabilities')
@eh.templatekeyword(b'troubles', requires={b'ctx', b'templ'})
def showtroubles(context, mapping): # legacy name for instabilities
ctx = context.resource(mapping, b'ctx')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment