[PATCH V2] hgweb: add branches RSS and Atom feeds

Angel Ezquerra angel.ezquerra at gmail.com
Tue Dec 4 16:54:06 CST 2012


On Tue, Dec 4, 2012 at 11:50 PM, Angel Ezquerra
<angel.ezquerra at gmail.com> wrote:
> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1354577870 -3600
> # Node ID 26303ce529e72c952f7b1a7a6410cc4b273e3a8b
> # Parent  9b05b31b413c55d750ca8be41330ff65fa9ed8c1
> hgweb: add branches RSS and Atom feeds
>
> There were no RSS nor Atom feeds for the branches page. Different hgweb
> templates linked to different feeds on their branches page (some linked to the
> tags feed, some to the log feed and some to the unexisting branches feed).
>
> Note that in order to make the new branches Atom feed work I had to remove the
> "{latestentry%feedupdated}" line which is found on all other Atom feed
> templates. Actually I believe that the atom/tags.tmpl does not work either, and
> it is for the same reason (i.e. the "{latestentry%feedupdated}" line makes it
> fail).

The previous version did not include the new atom and rss branch and
branchentries templates.
Also this version has a working atom feed (as well as the already
working rss feed).

The one remaining issue is that in order to make the branches atom
feed work I had to remove the "{latestentry%feedupdated}" line, which
I don't know is correct. The same problem happens with the atom tags
feed, which also does not work (for me) unless you remove that line
from atom/branch.tmpl.

Comments welcome,

Angel


More information about the Mercurial-devel mailing list