diff mercurial/templates/gitweb/fileannotate.tmpl @ 30708:011122b3b1c4

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.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 28 Dec 2016 15:48:17 -0700
parents dd89304687a3
children c208bc65318a
line wrap: on
line diff
--- a/mercurial/templates/gitweb/fileannotate.tmpl	Wed Jan 04 10:35:04 2017 -0800
+++ b/mercurial/templates/gitweb/fileannotate.tmpl	Wed Dec 28 15:48:17 2016 -0700
@@ -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>