##// END OF EJS Templates
paper: show branch/tags/bookmarks when diffing (issue3559)
Anton Shestakov -
r25134:339e3cc0 default
parent child Browse files
Show More
@@ -811,6 +811,8 b' def filediff(web, req, tmpl):'
811 811 branch=webutil.nodebranchnodefault(ctx),
812 812 parent=webutil.parents(ctx),
813 813 child=webutil.children(ctx),
814 tags=webutil.nodetagsdict(web.repo, n),
815 bookmarks=webutil.nodebookmarksdict(web.repo, n),
814 816 diff=diffs)
815 817
816 818 diff = webcommand('diff')(filediff)
@@ -36,7 +36,7 b''
36 36
37 37 <div class="main">
38 38 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
39 <h3>diff {file|escape} @ {rev}:{node|short}</h3>
39 <h3>diff {file|escape} @ {rev}:{node|short} {branch%changelogbranchname}{tags%changelogtag}{bookmarks%changelogtag}</h3>
40 40
41 41 <form class="search" action="{url|urlescape}log">
42 42 <p>{sessionvars%hiddenformentry}</p>
@@ -249,7 +249,7 b' diff removed file'
249 249
250 250 <div class="main">
251 251 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
252 <h3>diff b @ 1:559edbd9ed20</h3>
252 <h3>diff b @ 1:559edbd9ed20 <span class="tag">tip</span> </h3>
253 253
254 254 <form class="search" action="/log">
255 255 <p></p>
@@ -525,7 +525,7 b' diff modified file'
525 525
526 526 <div class="main">
527 527 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
528 <h3>diff a @ 1:559edbd9ed20</h3>
528 <h3>diff a @ 1:559edbd9ed20 <span class="tag">tip</span> </h3>
529 529
530 530 <form class="search" action="/log">
531 531 <p></p>
@@ -185,7 +185,7 b' diff removed file'
185 185
186 186 <div class="main">
187 187 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
188 <h3>diff a @ 1:c78f6c5cbea9</h3>
188 <h3>diff a @ 1:c78f6c5cbea9 <span class="tag">tip</span> </h3>
189 189
190 190 <form class="search" action="/log">
191 191 <p></p>
General Comments 0
You need to be logged in to leave comments. Login now