--- 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):