[PATCH] hgweb: fixed invalid atom-log feed url in file log page

Anton Shestakov engored at ya.ru
Mon Dec 28 10:58:50 CST 2015


29.12.2015, 00:37, "Yoshinari Takaoka" <mumumu at mumumu.org>:
> # HG changeset patch
> # User Yoshinari Takaoka <mumumu at mumumu.org>
> # Date 1451317683 -32400
> # Tue Dec 29 00:48:03 2015 +0900
> # Node ID 968800c85bfc618a12915b0fa0c5cf3142393d54
> # Parent dbfaf361c062e4c5a084925f827d11cf95e4a253
> 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]

Looks good, considering that the <link rel="alternate"...> elements (for rss and atom feeds) on file log page already use tip.


More information about the Mercurial-devel mailing list