Mercurial > public > mercurial-scm > hg
diff tests/test-hgweb-filelog.t @ 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 | c42a3fd5c1fc |
line wrap: on
line diff
--- a/tests/test-hgweb-filelog.t Tue Dec 29 10:21:39 2015 -0800 +++ b/tests/test-hgweb-filelog.t Tue Dec 29 00:48:03 2015 +0900 @@ -179,7 +179,7 @@ <li><a href="/help">help</a></li> </ul> <div class="atom-logo"> - <a href="/atom-log/3f41bc784e7e/a" title="subscribe to atom feed"> + <a href="/atom-log/tip/a" title="subscribe to atom feed"> <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" /> </a> </div> @@ -299,7 +299,7 @@ <li><a href="/help">help</a></li> </ul> <div class="atom-logo"> - <a href="/atom-log/3f41bc784e7e/a" title="subscribe to atom feed"> + <a href="/atom-log/tip/a" title="subscribe to atom feed"> <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" /> </a> </div> @@ -419,7 +419,7 @@ <li><a href="/help">help</a></li> </ul> <div class="atom-logo"> - <a href="/atom-log/5ed941583260/a" title="subscribe to atom feed"> + <a href="/atom-log/tip/a" title="subscribe to atom feed"> <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" /> </a> </div> @@ -531,7 +531,7 @@ <li><a href="/help">help</a></li> </ul> <div class="atom-logo"> - <a href="/atom-log/5ed941583260/a" title="subscribe to atom feed"> + <a href="/atom-log/tip/a" title="subscribe to atom feed"> <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" /> </a> </div>