Mercurial > hg
diff tests/test-hgweb-symrev.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 | 9c37df347485 |
line wrap: on
line diff
--- a/tests/test-hgweb-symrev.t Tue Dec 29 10:21:39 2015 -0800 +++ b/tests/test-hgweb-symrev.t Tue Dec 29 00:48:03 2015 +0900 @@ -165,7 +165,7 @@ <li><a href="/comparison/xyzzy/foo?style=paper">comparison</a></li> <li><a href="/annotate/xyzzy/foo?style=paper">annotate</a></li> <li><a href="/raw-file/xyzzy/foo">raw</a></li> - <a href="/atom-log/a7c1559b7bba/foo" title="subscribe to atom feed"> + <a href="/atom-log/tip/foo" title="subscribe to atom feed"> log foo @ 1:<a href="/rev/a7c1559b7bba?style=paper">a7c1559b7bba</a> <a href="/log/xyzzy/foo?revcount=30&style=paper">less</a> <a href="/log/xyzzy/foo?revcount=120&style=paper">more</a> @@ -353,7 +353,7 @@ <li><a href="/comparison/xyzzy/foo?style=coal">comparison</a></li> <li><a href="/annotate/xyzzy/foo?style=coal">annotate</a></li> <li><a href="/raw-file/xyzzy/foo">raw</a></li> - <a href="/atom-log/a7c1559b7bba/foo" title="subscribe to atom feed"> + <a href="/atom-log/tip/foo" title="subscribe to atom feed"> log foo @ 1:<a href="/rev/a7c1559b7bba?style=coal">a7c1559b7bba</a> <a href="/log/xyzzy/foo?revcount=30&style=coal">less</a> <a href="/log/xyzzy/foo?revcount=120&style=coal">more</a>