hgweb: adding branch names from inbranch template to rss feed
authorAaron Jensen <ajensen@webmd.net>
Thu, 17 Apr 2014 11:47:49 -0700
changeset 21118 e1a3898a8bb8
parent 21117 91eb605022f5
child 21119 26f39f28b059
hgweb: adding branch names from inbranch template to rss feed
mercurial/templates/rss/changelogentry.tmpl
--- a/mercurial/templates/rss/changelogentry.tmpl	Thu Apr 17 11:45:43 2014 -0700
+++ b/mercurial/templates/rss/changelogentry.tmpl	Thu Apr 17 11:47:49 2014 -0700
@@ -1,19 +1,19 @@
 <item>
-    <title>{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape}</title>
+    <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>
     <description>
-	<![CDATA[
+              <![CDATA[
 	<table>
 	<tr>
 		<th style="text-align:left;">changeset</th>
 		<td>{node|short}</td>
-	</tr>
-	<tr>
-		<th style="text-align:left;">branch</th>
-		<td>{branches%"{name|escape}"}</td>
-	</tr>
-	<tr>
-		<th style="text-align:left;">bookmark</th>
+              </tr>
+              <tr>
+                              <th style="text-align:left;">branch</th>
+                              <td>{inbranch%"{name|escape}"}{branches%"{name|escape}"}</td>
+              </tr>
+              <tr>
+                              <th style="text-align:left;">bookmark</th>
 		<td>{bookmarks%"{name|escape}"}</td>
 	</tr>
 	<tr>