diff mercurial/hgweb/webcommands.py @ 25133:3d82c517b9c5

paper: show branch/tags/bookmarks when viewing (issue3559)
author Anton Shestakov <engored@ya.ru>
date Fri, 15 May 2015 20:00:47 +0800
parents 917b5a071888
children 339e3cc073ac
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Fri May 15 18:17:36 2015 +0800
+++ b/mercurial/hgweb/webcommands.py	Fri May 15 20:00:47 2015 +0800
@@ -130,6 +130,8 @@
                 parent=webutil.parents(fctx),
                 child=webutil.children(fctx),
                 rename=webutil.renamelink(fctx),
+                tags=webutil.nodetagsdict(web.repo, fctx.node()),
+                bookmarks=webutil.nodebookmarksdict(web.repo, fctx.node()),
                 permissions=fctx.manifest().flags(f))
 
 @webcommand('file')