mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
paper: show branch/tags/bookmarks when blaming (issue3559)
This commit is contained in:
parent
fba3cc6630
commit
4451d363dd
@ -953,6 +953,8 @@ def annotate(web, req, tmpl):
|
||||
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')
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
<div class="main">
|
||||
<h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
|
||||
<h3>annotate {file|escape} @ {rev}:{node|short}</h3>
|
||||
<h3>annotate {file|escape} @ {rev}:{node|short} {branch%changelogbranchname}{tags%changelogtag}{bookmarks%changelogtag}</h3>
|
||||
|
||||
<form class="search" action="{url|urlescape}log">
|
||||
{sessionvars%hiddenformentry}
|
||||
|
@ -236,7 +236,7 @@ hgweb fileannotate, html
|
||||
|
||||
<div class="main">
|
||||
<h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
|
||||
<h3>annotate primes.py @ 0:853dcd4de2a6</h3>
|
||||
<h3>annotate primes.py @ 0:853dcd4de2a6 <span class="tag">tip</span> </h3>
|
||||
|
||||
<form class="search" action="/log">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user