# HG changeset patch # User Angel Ezquerra # Date 1354577870 -3600 # Node ID add2f9ddcfb5e7b462a562b98453f3ffbeefd149 # Parent f3991bcf4f0ff43b43a1b1d0210925a629ef3b9c 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). diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/atom/branchentry.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mercurial/templates/atom/branchentry.tmpl Tue Dec 04 00:37:50 2012 +0100 @@ -0,0 +1,8 @@ + + {branch|escape} + + {urlbase}{url}#branch-{node} + {date|rfc3339date} + {date|rfc3339date} + + diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/atom/branches.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mercurial/templates/atom/branches.tmpl Tue Dec 04 00:37:50 2012 +0100 @@ -0,0 +1,11 @@ +{header} + {urlbase}{url} + + + {repo|escape}: branches + {repo|escape} branch history + Mercurial SCM + {latestentry%feedupdated} + + {entries%branchentry} + diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/atom/map --- a/mercurial/templates/atom/map Fri Dec 07 12:03:37 2012 -0600 +++ b/mercurial/templates/atom/map Tue Dec 04 00:37:50 2012 +0100 @@ -10,4 +10,6 @@ tagentry = tagentry.tmpl bookmarks = bookmarks.tmpl bookmarkentry = bookmarkentry.tmpl +branches = branches.tmpl +branchentry = branchentry.tmpl error = error.tmpl diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/gitweb/branches.tmpl --- a/mercurial/templates/gitweb/branches.tmpl Fri Dec 07 12:03:37 2012 -0600 +++ b/mercurial/templates/gitweb/branches.tmpl Tue Dec 04 00:37:50 2012 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Branches + href="{url}atom-branches" title="Atom feed for {repo|escape}"/> + href="{url}rss-branches" title="RSS feed for {repo|escape}"/> diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/monoblue/branches.tmpl --- a/mercurial/templates/monoblue/branches.tmpl Fri Dec 07 12:03:37 2012 -0600 +++ b/mercurial/templates/monoblue/branches.tmpl Tue Dec 04 00:37:50 2012 +0100 @@ -1,7 +1,7 @@ {header} {repo|escape}: Branches - - + + diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/paper/branches.tmpl --- a/mercurial/templates/paper/branches.tmpl Fri Dec 07 12:03:37 2012 -0600 +++ b/mercurial/templates/paper/branches.tmpl Tue Dec 04 00:37:50 2012 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: branches + href="{url}atom-branches" title="Atom feed for {repo|escape}: branches" /> + href="{url}rss-branches" title="RSS feed for {repo|escape}: branches" /> diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/rss/branchentry.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mercurial/templates/rss/branchentry.tmpl Tue Dec 04 00:37:50 2012 +0100 @@ -0,0 +1,6 @@ + + {branch|escape} + {urlbase}{url}rev/{node|short} + + {date|rfc822date} + diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/rss/branches.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mercurial/templates/rss/branches.tmpl Tue Dec 04 00:37:50 2012 +0100 @@ -0,0 +1,6 @@ +{header} + {repo|escape}: branches + {repo|escape} branch history + {entries%branchentry} + + diff -r f3991bcf4f0f -r add2f9ddcfb5 mercurial/templates/rss/map --- a/mercurial/templates/rss/map Fri Dec 07 12:03:37 2012 -0600 +++ b/mercurial/templates/rss/map Tue Dec 04 00:37:50 2012 +0100 @@ -9,4 +9,6 @@ tagentry = tagentry.tmpl bookmarks = bookmarks.tmpl bookmarkentry = bookmarkentry.tmpl +branches = branches.tmpl +branchentry = branchentry.tmpl error = error.tmpl