hgext/evolve.py
changeset 1732 f4047fba5e90
parent 1729 8ed0266c58a3
child 1736 c9a79b432907
--- a/hgext/evolve.py	Wed Sep 07 17:51:15 2016 +0200
+++ b/hgext/evolve.py	Fri Sep 09 16:42:41 2016 -0700
@@ -665,17 +665,11 @@
 
 @eh.templatekw('obsolete')
 def obsoletekw(repo, ctx, templ, **args):
-    """:obsolete: String. The obsolescence level of the node, could be
-    ``stable``, ``unstable``, ``suspended`` or ``extinct``.
+    """:obsolete: String. Whether the changeset is ``obsolete``.
     """
     if ctx.obsolete():
-        if ctx.extinct():
-            return 'extinct'
-        else:
-            return 'suspended'
-    elif ctx.unstable():
-        return 'unstable'
-    return 'stable'
+        return 'obsolete'
+    return ''
 
 @eh.templatekw('troubles')
 def showtroubles(repo, ctx, **args):