diff mercurial/hgweb/webcommands.py @ 38482:5faaa31a6082

hgweb: add archive entries to graph page Changelog page has them, so it makes sense to add them to graph page too.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 28 Jun 2018 10:50:53 +0800
parents f715faeaceee
children e7aa113b14f7 5caee9f923ae
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Thu Jun 28 07:41:08 2018 +0800
+++ b/mercurial/hgweb/webcommands.py	Thu Jun 28 10:50:53 2018 +0800
@@ -1370,6 +1370,7 @@
         jsdata=templateutil.mappinggenerator(jsdata),
         nodes=templateutil.mappinggenerator(nodes),
         node=ctx.hex(),
+        archives=web.archivelist('tip'),
         changenav=changenav)
 
 def _getdoc(e):