hgweb: link to raw-file on annotation page (BC)

Every other template has the "raw" link load "raw-file." However,
fileannotate.tmpl's "raw" link loads "raw-annotate." This feels
inconsistent and wrong.

As far as I can tell, linking to the "raw annotate" view has occurred
since 2006.
This commit is contained in:
Gregory Szorc 2016-12-28 15:48:17 -07:00
parent e1f0ba8ef9
commit 05ec82c913
6 changed files with 10 additions and 10 deletions

View File

@ -28,7 +28,7 @@
annotate |
<a href="{url|urlescape}diff/{symrev}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
<a href="{url|urlescape}comparison/{symrev}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
<a href="{url|urlescape}raw-annotate/{symrev}/{file|urlescape}">raw</a> |
<a href="{url|urlescape}raw-file/{symrev}/{file|urlescape}">raw</a> |
<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a>
<br/>
</div>

View File

@ -37,7 +37,7 @@
<li class="current">annotate</li>
<li><a href="{url|urlescape}diff/{symrev}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
<li><a href="{url|urlescape}comparison/{symrev}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li>
<li><a href="{url|urlescape}raw-annotate/{symrev}/{file|urlescape}">raw</a></li>
<li><a href="{url|urlescape}raw-file/{symrev}/{file|urlescape}">raw</a></li>
</ul>
<h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2>

View File

@ -28,7 +28,7 @@
<li><a href="{url|urlescape}comparison/{symrev}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li>
<li class="active">annotate</li>
<li><a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
<li><a href="{url|urlescape}raw-annotate/{symrev}/{file|urlescape}">raw</a></li>
<li><a href="{url|urlescape}raw-file/{symrev}/{file|urlescape}">raw</a></li>
</ul>
<ul>
<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>

View File

@ -13,7 +13,7 @@
<a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">files</a>
<a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file</a>
<a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
<a href="{url|urlescape}raw-annotate/{symrev}/{file|urlescape}">raw</a>
<a href="{url|urlescape}raw-file/{symrev}/{file|urlescape}">raw</a>
<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a>
</div>

View File

@ -186,7 +186,7 @@ Set up the repo
<li><a href="/diff/xyzzy/foo?style=paper">diff</a></li>
<li><a href="/comparison/xyzzy/foo?style=paper">comparison</a></li>
<li><a href="/log/xyzzy/foo?style=paper">file log</a></li>
<li><a href="/raw-annotate/xyzzy/foo">raw</a></li>
<li><a href="/raw-file/xyzzy/foo">raw</a></li>
annotate foo @ 1:<a href="/rev/a7c1559b7bba?style=paper">a7c1559b7bba</a>
<td class="author"><a href="/file/43c799df6e75/foo?style=paper">43c799df6e75</a> </td>
<td class="author"><a href="/file/9d8c40cba617/foo?style=paper">9d8c40cba617</a> </td>
@ -381,7 +381,7 @@ Set up the repo
<li><a href="/diff/xyzzy/foo?style=coal">diff</a></li>
<li><a href="/comparison/xyzzy/foo?style=coal">comparison</a></li>
<li><a href="/log/xyzzy/foo?style=coal">file log</a></li>
<li><a href="/raw-annotate/xyzzy/foo">raw</a></li>
<li><a href="/raw-file/xyzzy/foo">raw</a></li>
annotate foo @ 1:<a href="/rev/a7c1559b7bba?style=coal">a7c1559b7bba</a>
<td class="author"><a href="/file/43c799df6e75/foo?style=coal">43c799df6e75</a> </td>
<td class="author"><a href="/file/9d8c40cba617/foo?style=coal">9d8c40cba617</a> </td>
@ -626,7 +626,7 @@ Set up the repo
<a href="/log/xyzzy/foo?style=gitweb">revisions</a> |
<a href="/diff/xyzzy/foo?style=gitweb">diff</a> |
<a href="/comparison/xyzzy/foo?style=gitweb">comparison</a> |
<a href="/raw-annotate/xyzzy/foo">raw</a> |
<a href="/raw-file/xyzzy/foo">raw</a> |
<td style="font-family:monospace"><a class="list" href="/rev/a7c1559b7bba?style=gitweb">a7c1559b7bba</a></td>
<a class="list" href="/annotate/43c799df6e75/foo?style=gitweb">
<a class="list" href="/annotate/9d8c40cba617/foo?style=gitweb">9d8c40cba617</a></td>
@ -849,7 +849,7 @@ Set up the repo
<li><a href="/log/xyzzy/foo?style=monoblue">revisions</a></li>
<li><a href="/diff/xyzzy/foo?style=monoblue">diff</a></li>
<li><a href="/comparison/xyzzy/foo?style=monoblue">comparison</a></li>
<li><a href="/raw-annotate/xyzzy/foo">raw</a></li>
<li><a href="/raw-file/xyzzy/foo">raw</a></li>
<dd><a href="/rev/a7c1559b7bba?style=monoblue">a7c1559b7bba</a></dd>
<a href="/annotate/43c799df6e75/foo?style=monoblue">
<a href="/annotate/9d8c40cba617/foo?style=monoblue">9d8c40cba617</a>
@ -1053,7 +1053,7 @@ Set up the repo
<a href="/file/xyzzy/?style=spartan">files</a>
<a href="/file/xyzzy/foo?style=spartan">file</a>
<a href="/log/xyzzy/foo?style=spartan">revisions</a>
<a href="/raw-annotate/xyzzy/foo">raw</a>
<a href="/raw-file/xyzzy/foo">raw</a>
<td><a href="/rev/a7c1559b7bba?style=spartan">a7c1559b7bba</a></td>
<a href="/annotate/43c799df6e75/foo?style=spartan">
<td><a href="/annotate/9d8c40cba617/foo?style=spartan">9d8c40cba617</a></td>

View File

@ -236,7 +236,7 @@ hgweb fileannotate, html
<li><a href="/comparison/tip/primes.py">comparison</a></li>
<li class="active">annotate</li>
<li><a href="/log/tip/primes.py">file log</a></li>
<li><a href="/raw-annotate/tip/primes.py">raw</a></li>
<li><a href="/raw-file/tip/primes.py">raw</a></li>
</ul>
<ul>
<li><a href="/help">help</a></li>