mercurial/hgweb/webutil.py
changeset 35486 4c7ae95e1c71
parent 35485 1721ce06100a
child 36180 34e850440271
--- a/mercurial/hgweb/webutil.py	Tue Nov 21 17:03:41 2017 +0800
+++ b/mercurial/hgweb/webutil.py	Fri Dec 22 21:25:46 2017 +0800
@@ -353,7 +353,10 @@
     return '%d:%d' % (fromline + 1, toline)
 
 def succsandmarkers(repo, ctx):
-    return templatekw.showsuccsandmarkers(repo, ctx)
+    for item in templatekw.showsuccsandmarkers(repo, ctx):
+        item['successors'] = _siblings(repo[successor]
+                                       for successor in item['successors'])
+        yield item
 
 def commonentry(repo, ctx):
     node = ctx.node()