diff mercurial/hgweb/webcommands.py @ 25136:99d01d288c37

paper: show branch/tags/bookmarks when blaming (issue3559)
author Anton Shestakov <engored@ya.ru>
date Fri, 15 May 2015 20:04:24 +0800
parents 3b689001e7c6
children 3f0744eeaeaf
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Fri May 15 20:03:42 2015 +0800
+++ b/mercurial/hgweb/webcommands.py	Fri May 15 20:04:24 2015 +0800
@@ -953,6 +953,8 @@
                 branch=webutil.nodebranchnodefault(fctx),
                 parent=webutil.parents(fctx),
                 child=webutil.children(fctx),
+                tags=webutil.nodetagsdict(web.repo, fctx.node()),
+                bookmarks=webutil.nodebookmarksdict(web.repo, fctx.node()),
                 permissions=fctx.manifest().flags(f))
 
 @webcommand('filelog')