##// END OF EJS Templates
paper: show current revision on file log page...
av6 -
r27081:37290f2f default
parent child Browse files
Show More
@@ -1045,7 +1045,11 b' def filelog(web, req, tmpl):'
1045 1045 revnav = webutil.filerevnav(web.repo, fctx.path())
1046 1046 nav = revnav.gen(end - 1, revcount, count)
1047 1047 return tmpl("filelog", file=f, node=fctx.hex(), nav=nav,
1048 rev=fctx.rev(),
1048 1049 symrev=webutil.symrevorshortnode(req, fctx),
1050 branch=webutil.nodebranchnodefault(fctx),
1051 tags=webutil.nodetagsdict(web.repo, fctx.node()),
1052 bookmarks=webutil.nodebookmarksdict(web.repo, fctx.node()),
1049 1053 entries=entries,
1050 1054 latestentry=latestentry,
1051 1055 revcount=revcount, morevars=morevars, lessvars=lessvars)
@@ -44,7 +44,10 b''
44 44
45 45 <div class="main">
46 46 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
47 <h3>log {file|escape}</h3>
47 <h3>
48 log {file|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
49 {branch%changelogbranchname}{tags%changelogtag}{bookmarks%changelogtag}
50 </h3>
48 51
49 52 <form class="search" action="{url|urlescape}log">
50 53 {sessionvars%hiddenformentry}
@@ -187,7 +187,10 b' tip - two revisions'
187 187
188 188 <div class="main">
189 189 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
190 <h3>log a</h3>
190 <h3>
191 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
192 <span class="branchname">a-branch</span>
193 </h3>
191 194
192 195 <form class="search" action="/log">
193 196
@@ -304,7 +307,10 b' second version - two revisions'
304 307
305 308 <div class="main">
306 309 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
307 <h3>log a</h3>
310 <h3>
311 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
312 <span class="branchname">a-branch</span>
313 </h3>
308 314
309 315 <form class="search" action="/log">
310 316
@@ -421,7 +427,10 b' first deleted - one revision'
421 427
422 428 <div class="main">
423 429 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
424 <h3>log a</h3>
430 <h3>
431 log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
432 <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
433 </h3>
425 434
426 435 <form class="search" action="/log">
427 436
@@ -530,7 +539,10 b' first version - one revision'
530 539
531 540 <div class="main">
532 541 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
533 <h3>log a</h3>
542 <h3>
543 log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
544 <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
545 </h3>
534 546
535 547 <form class="search" action="/log">
536 548
@@ -166,6 +166,7 b' Set up the repo'
166 166 <li><a href="/annotate/xyzzy/foo?style=paper">annotate</a></li>
167 167 <li><a href="/raw-file/xyzzy/foo">raw</a></li>
168 168 <a href="/atom-log/a7c1559b7bba/foo" title="subscribe to atom feed">
169 log foo @ 1:<a href="/rev/a7c1559b7bba?style=paper">a7c1559b7bba</a>
169 170 <a href="/log/xyzzy/foo?revcount=30&style=paper">less</a>
170 171 <a href="/log/xyzzy/foo?revcount=120&style=paper">more</a>
171 172 | <a href="/log/43c799df6e75/foo?style=paper">(0)</a> <a href="/log/tip/foo?style=paper">tip</a> </div>
@@ -353,6 +354,7 b' Set up the repo'
353 354 <li><a href="/annotate/xyzzy/foo?style=coal">annotate</a></li>
354 355 <li><a href="/raw-file/xyzzy/foo">raw</a></li>
355 356 <a href="/atom-log/a7c1559b7bba/foo" title="subscribe to atom feed">
357 log foo @ 1:<a href="/rev/a7c1559b7bba?style=coal">a7c1559b7bba</a>
356 358 <a href="/log/xyzzy/foo?revcount=30&style=coal">less</a>
357 359 <a href="/log/xyzzy/foo?revcount=120&style=coal">more</a>
358 360 | <a href="/log/43c799df6e75/foo?style=coal">(0)</a> <a href="/log/tip/foo?style=coal">tip</a> </div>
General Comments 0
You need to be logged in to leave comments. Login now