changeset 5327:db9a64d12014

templatekw: drop {instabilities} keyword, it's in hg 4.6+
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 16 May 2020 16:07:34 +0800
parents a9a08b3d50fb
children 801bbfc4e2e8
files hgext3rd/evolve/templatekw.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/templatekw.py	Sat May 16 16:02:12 2020 +0800
+++ b/hgext3rd/evolve/templatekw.py	Sat May 16 16:07:34 2020 +0800
@@ -22,15 +22,6 @@
 
 ### 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')