# HG changeset patch # User Anton Shestakov # Date 1431691422 -28800 # Node ID 3b689001e7c6c6f3f8fcf90d815906c890a1ed17 # Parent 339e3cc073ace610445ca4a054325943890f437b paper: show branch/tags/bookmarks when comparing (issue3559) diff -r 339e3cc073ac -r 3b689001e7c6 mercurial/hgweb/webcommands.py --- 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, diff -r 339e3cc073ac -r 3b689001e7c6 mercurial/templates/paper/filecomparison.tmpl --- a/mercurial/templates/paper/filecomparison.tmpl Fri May 15 20:02:41 2015 +0800 +++ b/mercurial/templates/paper/filecomparison.tmpl Fri May 15 20:03:42 2015 +0800 @@ -36,7 +36,7 @@
-

comparison {file|escape} @ {rev}:{node|short}

+

comparison {file|escape} @ {rev}:{node|short} {branch%changelogbranchname}{tags%changelogtag}{bookmarks%changelogtag}