Patchwork [2,of,4] gitweb: remove unused templates

login
register
mail settings
Submitter Anton Shestakov
Date Sept. 22, 2016, 5:24 a.m.
Message ID <a816857b88b95afb552c.1474521881@neuro>
Download mbox | patch
Permalink /patch/16745/
State Accepted
Headers show

Comments

Anton Shestakov - Sept. 22, 2016, 5:24 a.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1474521565 -28800
#      Thu Sep 22 13:19:25 2016 +0800
# Node ID a816857b88b95afb552ca17f513983fc0a702732
# Parent  266c2195651e534736aa7706db56f8556fcb1ec5
gitweb: remove unused templates

Patch

diff --git a/mercurial/templates/gitweb/map b/mercurial/templates/gitweb/map
--- a/mercurial/templates/gitweb/map
+++ b/mercurial/templates/gitweb/map
@@ -137,13 +137,6 @@  comparisonline = '
     <td class="{type}"><pre><a class="linenr" href="#{lineid}">{rightlinenumber}</a> {rightline|escape}</pre></td>
   </tr>'
 
-changelogparent = '
-  <tr>
-    <th class="parent">parent {rev}:</th>
-    <td class="parent">
-      <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
-    </td>
-  </tr>'
 changesetlink = '<a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
 changesetbranch = '<tr><td>branch</td><td>{name|escape}</td></tr>'
 changesetparent = '
@@ -253,11 +246,6 @@  filecompparent = '
       </a>
     </td>
   </tr>'
-filelogparent = '
-  <tr>
-    <td align="right">parent {rev}:&nbsp;</td>
-    <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
-  </tr>'
 filediffchild = '
   <tr>
     <td>child {rev}</td>
@@ -272,11 +260,6 @@  filecompchild = '
       <a class="list" href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
     </td>
   </tr>'
-filelogchild = '
-  <tr>
-    <td align="right">child {rev}:&nbsp;</td>
-    <td><a href="{url|urlescape}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
-  </tr>'
 shortlog = shortlog.tmpl
 graph = graph.tmpl
 tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> '