diff mercurial/hgweb/webcommands.py @ 25134:339e3cc073ac

paper: show branch/tags/bookmarks when diffing (issue3559)
author Anton Shestakov <engored@ya.ru>
date Fri, 15 May 2015 20:02:41 +0800
parents 3d82c517b9c5
children 3b689001e7c6
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Fri May 15 20:00:47 2015 +0800
+++ b/mercurial/hgweb/webcommands.py	Fri May 15 20:02:41 2015 +0800
@@ -811,6 +811,8 @@
                 branch=webutil.nodebranchnodefault(ctx),
                 parent=webutil.parents(ctx),
                 child=webutil.children(ctx),
+                tags=webutil.nodetagsdict(web.repo, n),
+                bookmarks=webutil.nodebookmarksdict(web.repo, n),
                 diff=diffs)
 
 diff = webcommand('diff')(filediff)