[issue2677] Hgweb offers you Atom feeds which never update
Gervase Markham
bugs at mercurial.selenic.com
Fri Mar 4 16:28:55 UTC 2011
New submission from Gervase Markham <gerv at gerv.net>:
Steps to reproduce:
1) Visit a page on Hgweb listing all the files in a directory on the tip, e.g.:
http://hg.mozilla.org/mozilla-central/file/tip/netwerk/dns/
2) Click "Revisions" to get the list of revisions for a file, which takes
you to e.g.:
http://hg.mozilla.org/mozilla-central/log/e56ecd8b3a68/netwerk/dns/effective_tld_names.dat
3) See a feed icon in the list of options at the top and see "Ah, a feed of
changes for this file". Right-click, copy the URL, and paste it into your
feed reader.
Expected Results: an Atom feed of updates to that file, which updates when
new changes are made
Actual Results: the Atom feed never shows any updates, so you wrongly
assume that there aren't any
The problem is that the Atom feed URL offered is of this form:
http://hg.mozilla.org/mozilla-central/atom-log/e56ecd8b3a68/netwerk/dns/effective_tld_names.dat
This is not the feed for the tip, but the one for that revision (note the
hex digits) - in other words, as far as I can see, it'll never show any
updates at all! This seems a very pointless Atom feed.
Hgweb should be changed to present a more useful Atom feed by default -
perhaps the one for the tip, but it could be more complicated than that, I
don't know. If there is no better way of offering a good feed, offer no feed
rather than the very misleading feed offered now.
Gerv
----------
messages: 15493
nosy: gerv
priority: bug
status: unread
title: Hgweb offers you Atom feeds which never update
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2677>
____________________________________________________
More information about the Mercurial-devel
mailing list