Patchwork hgweb: adding article link to rss feed

login
register
mail settings
Submitter Jensen, Aaron
Date April 17, 2014, 6:51 p.m.
Message ID <19C008641EA0254BA2D9501B558E4A583B57AFFE@EXMBX01L-CRP-04.webmdhealth.net>
Download mbox | patch
Permalink /patch/4406/
State Accepted
Commit 26f39f28b059eb1008fc1d8959a0f7f95db58f5e
Headers show

Comments

Jensen, Aaron - April 17, 2014, 6:51 p.m.
# HG changeset patch
# User Aaron Jensen <ajensen@webmd.net>
# Date 1397760502 25200
# Node ID 0c53ad7a33d3ad4ba511035fe4dc28491c8a739c
# Parent  9ba72109ddbd1f8442f84f788b0c70329fd98572
hgweb: adding article link to rss feed
Matt Mackall - April 17, 2014, 9:20 p.m.
On Thu, 2014-04-17 at 18:51 +0000, Jensen, Aaron wrote:
> # HG changeset patch
> # User Aaron Jensen <ajensen@webmd.net>
> # Date 1397760502 25200
> # Node ID 0c53ad7a33d3ad4ba511035fe4dc28491c8a739c
> # Parent  9ba72109ddbd1f8442f84f788b0c70329fd98572
> hgweb: adding article link to rss feed

Queued these, thanks. Again, needed to update the test suite though.
Also, these came through as quoted-printable, which was messy.

Patch

diff -r 9ba72109ddbd -r 0c53ad7a33d3 mercurial/templates/rss/changelogentry.tmpl
--- a/mercurial/templates/rss/changelogentry.tmpl        Thu Apr 17 11:47:49 2014 -0700
+++ b/mercurial/templates/rss/changelogentry.tmpl     Thu Apr 17 11:48:22 2014 -0700
@@ -1,6 +1,7 @@ 
<item>
     <title>{inbranch%"{if(name, '[{name|escape}] ')}"}{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape}</title>
     <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid>
+             <link>{urlbase}{url|urlescape}rev/{node|short}</link>
     <description>
               <![CDATA[
               <table>