hgweb: show changeset branches/tags/bookmarks in file log (style=gitweb)
authorAnton Shestakov <engored@ya.ru>
Fri, 15 May 2015 11:42:09 +0800
changeset 25123 64f403b70a01
parent 25122 755d23a49170
child 25124 d08a13215d1a
hgweb: show changeset branches/tags/bookmarks in file log (style=gitweb) This line for filelogentry template is copied from shortlogentry. The information is already displayed in paper style, so no change to python code is needed. Tests are unaffected.
mercurial/templates/gitweb/map
--- a/mercurial/templates/gitweb/map	Sat May 16 00:36:35 2015 -0400
+++ b/mercurial/templates/gitweb/map	Fri May 15 11:42:09 2015 +0800
@@ -293,6 +293,7 @@
     <td>
       <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
         <b>{desc|strip|firstline|escape|nonempty}</b>
+        <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>
       </a>
     </td>
     <td class="link">