diff mercurial/hgweb/webutil.py @ 37069:724f2e21d870

templatekw: stop using _showlist() which is about to be deprecated Use the new context-based API instead.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 16 Mar 2018 23:01:51 +0900
parents b235bde38a83
children f0b6fbea00cf
line wrap: on
line diff
--- a/mercurial/hgweb/webutil.py	Fri Mar 16 22:47:15 2018 +0900
+++ b/mercurial/hgweb/webutil.py	Fri Mar 16 23:01:51 2018 +0900
@@ -367,7 +367,7 @@
         yield item
 
 # teach templater succsandmarkers is switched to (context, mapping) API
-succsandmarkers._requires = {'repo', 'ctx', 'templ'}
+succsandmarkers._requires = {'repo', 'ctx'}
 
 def whyunstable(context, mapping):
     repo = context.resource(mapping, 'repo')
@@ -379,7 +379,7 @@
             entry['divergentnodes'] = _siblings(entry['divergentnodes'])
         yield entry
 
-whyunstable._requires = {'repo', 'ctx', 'templ'}
+whyunstable._requires = {'repo', 'ctx'}
 
 def commonentry(repo, ctx):
     node = ctx.node()