--- a/mercurial/hgweb/webutil.py Sat Dec 16 18:58:02 2017 -0500
+++ b/mercurial/hgweb/webutil.py Tue Nov 21 17:03:41 2017 +0800
@@ -32,6 +32,7 @@
pathutil,
pycompat,
templatefilters,
+ templatekw,
ui as uimod,
util,
)
@@ -351,6 +352,9 @@
def formatlinerange(fromline, toline):
return '%d:%d' % (fromline + 1, toline)
+def succsandmarkers(repo, ctx):
+ return templatekw.showsuccsandmarkers(repo, ctx)
+
def commonentry(repo, ctx):
node = ctx.node()
return {
@@ -362,6 +366,7 @@
'extra': ctx.extra(),
'phase': ctx.phasestr(),
'obsolete': ctx.obsolete(),
+ 'succsandmarkers': lambda **x: succsandmarkers(repo, ctx),
'instabilities': [{"instability": i} for i in ctx.instabilities()],
'branch': nodebranchnodefault(ctx),
'inbranch': nodeinbranch(repo, ctx),