# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1534546972 -7200
# Node ID 1094e56d369af77a7359b87d22b0ff5e00fa6c32
# Parent  f715dcea50863c08618b6ff139b35990765b2204
template: remove compatibility layer for `showobsolete`

The keyword exist in core since 4.2

diff -r f715dcea5086 -r 1094e56d369a hgext3rd/evolve/templatekw.py
--- a/hgext3rd/evolve/templatekw.py	Sat Aug 18 01:06:30 2018 +0200
+++ b/hgext3rd/evolve/templatekw.py	Sat Aug 18 01:02:52 2018 +0200
@@ -26,16 +26,6 @@
 ### template keywords
 # XXX it does not handle troubles well :-/
 
-if not util.safehasattr(templatekw, 'showobsolete'):
-    # hg < 4.2
-    @eh.templatekw('obsolete')
-    def obsoletekw(repo, ctx, templ, **args):
-        """String. Whether the changeset is ``obsolete``.
-        """
-        if ctx.obsolete():
-            return 'obsolete'
-        return ''
-
 if util.safehasattr(templatekw, 'compatlist'):
     @eh.templatekw('troubles', requires=set(['ctx', 'templ']))
     def showtroubles(context, mapping):