diff mercurial/templates/paper/filelog.tmpl @ 27554:1c66497261b2

hgweb: fixed invalid atom-log feed url in file log page currently "subscribe to atom feed" link in file log page is as follows. /atom-log/[revision]/[file] This is invalid, because we could not get newer commit feed than [revision]. To fix this, atom-log feed url should be the following style. atom-log/tip/[file]
author Yoshinari Takaoka <mumumu@mumumu.org>
date Tue, 29 Dec 2015 00:48:03 +0900
parents 37290f2f2c3b
children 5e6d44511317
line wrap: on
line diff
--- a/mercurial/templates/paper/filelog.tmpl	Tue Dec 29 10:21:39 2015 -0800
+++ b/mercurial/templates/paper/filelog.tmpl	Tue Dec 29 00:48:03 2015 +0900
@@ -36,7 +36,7 @@
 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
 </ul>
 <div class="atom-logo">
-<a href="{url|urlescape}atom-log/{node|short}/{file|urlescape}" title="subscribe to atom feed">
+<a href="{url|urlescape}atom-log/tip/{file|urlescape}" title="subscribe to atom feed">
 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
 </a>
 </div>