Patchwork [4,of,4] spartan: remove unused templates

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

Comments

Anton Shestakov - Sept. 22, 2016, 5:24 a.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1474521606 -28800
#      Thu Sep 22 13:20:06 2016 +0800
# Node ID 041a77a223ca979a7531f88037b1555838d474cf
# Parent  9ed9b12d150cfc3ee142f6dd053eb489b304bb3f
spartan: remove unused templates
Pierre-Yves David - Sept. 22, 2016, 11:43 p.m.
On 09/22/2016 07:24 AM, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6@dwimlabs.net>
> # Date 1474521606 -28800
> #      Thu Sep 22 13:20:06 2016 +0800
> # Node ID 041a77a223ca979a7531f88037b1555838d474cf
> # Parent  9ed9b12d150cfc3ee142f6dd053eb489b304bb3f
> spartan: remove unused templates

Pushed these, thanks.

Patch

diff --git a/mercurial/templates/spartan/map b/mercurial/templates/spartan/map
--- a/mercurial/templates/spartan/map
+++ b/mercurial/templates/spartan/map
@@ -170,21 +170,11 @@  filediffparent = '
     <th class="parent">parent {rev}:</th>
     <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
-filelogparent = '
-  <tr>
-    <th>parent {rev}:</th>
-    <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
-  </tr>'
 filediffchild = '
   <tr>
     <th class="child">child {rev}:</th>
     <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
   </tr>'
-filelogchild = '
-  <tr>
-    <th>child {rev}:</th>
-    <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
-  </tr>'
 indexentry = '
   <tr class="parity{parity}">
     <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td>