Commits

Christian Boos committed 6576688

TracRevisionLog: restore alternate formats (RSS and ChangeLog)

Fixes a regression introduced in r8483.

Reported by Jason Winnebeck, thanks!

  • Participants
  • Parent commits 8fd31dd
  • Branches 0.11-stable

Comments (0)

Files changed (2)

File trac/versioncontrol/templates/revisionlog.rss

       <link>$log_href</link>
     </image>
 
-    <item py:for="item in items" 
-          py:with="change = changes[item.rev]; 
+    <py:for each="items in item_ranges">
+    <item py:for="item in items"
+          py:with="change = changes[item.rev];
                    item_context = context('changeset', change.rev)">
       ${author_or_creator(change.author, email_map)}
       <pubDate>${http_date(change.date)}</pubDate>
         }</description>
       <category>Log</category>
     </item>
+    </py:for>
 
  </channel>
 </rss>

File trac/versioncontrol/templates/revisionlog.txt

 # Generated by Trac $trac.version
 # ${format_datetime()}
  
+#for items in item_ranges
 #for item in items
   #with change = changes[item.rev]; extra = extra_changes[item.rev]
 ${http_date(change.date)} ${format_author(change.author)} [$item.rev]
 
   #end
 #end
+#end