changeset 21118:e1a3898a8bb8

hgweb: adding branch names from inbranch template to rss feed
author Aaron Jensen <ajensen@webmd.net>
date Thu, 17 Apr 2014 11:47:49 -0700
parents 91eb605022f5
children 26f39f28b059
files mercurial/templates/rss/changelogentry.tmpl
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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>