[PATCH 3 of 3] gitweb: add author to filelogentry

Anton Shestakov av6 at dwimlabs.net
Fri Sep 18 01:42:38 CDT 2015


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1442557493 -28800
#      Fri Sep 18 14:24:53 2015 +0800
# Node ID fb2340b9072cb777218b72df6cf6db4adfec8f58
# Parent  eb1a08dd71a621d9b2500ecb8ea3885b79c6cf85
gitweb: add author to filelogentry

The line is copied from shortlogentry template.

diff --git a/mercurial/templates/gitweb/map b/mercurial/templates/gitweb/map
--- a/mercurial/templates/gitweb/map
+++ b/mercurial/templates/gitweb/map
@@ -290,6 +290,7 @@ shortlogentry = '
 filelogentry = '
   <tr class="parity{parity}">
     <td class="age"><i class="age">{date|rfc822date}</i></td>
+    <td><i>{author|person}</i></td>
     <td>
       <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
         <b>{desc|strip|firstline|escape|nonempty}</b>


More information about the Mercurial-devel mailing list