diff mercurial/hgweb/webcommands.py @ 25135:3b689001e7c6

paper: show branch/tags/bookmarks when comparing (issue3559)
author Anton Shestakov <engored@ya.ru>
date Fri, 15 May 2015 20:03:42 +0800
parents 339e3cc073ac
children 99d01d288c37
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Fri May 15 20:02:41 2015 +0800
+++ b/mercurial/hgweb/webcommands.py	Fri May 15 20:03:42 2015 +0800
@@ -885,6 +885,8 @@
                 branch=webutil.nodebranchnodefault(ctx),
                 parent=webutil.parents(fctx),
                 child=webutil.children(fctx),
+                tags=webutil.nodetagsdict(web.repo, ctx.node()),
+                bookmarks=webutil.nodebookmarksdict(web.repo, ctx.node()),
                 leftrev=leftrev,
                 leftnode=hex(leftnode),
                 rightrev=rightrev,