Patchwork [1,of,4] paper: remove unused templates

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

Comments

Anton Shestakov - Sept. 22, 2016, 5:24 a.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1474521539 -28800
#      Thu Sep 22 13:18:59 2016 +0800
# Node ID 266c2195651e534736aa7706db56f8556fcb1ec5
# Parent  5271ae66615207f39cc41d78f4541bc6f8ca6ff6
paper: remove unused templates

Patch

diff --git a/mercurial/templates/paper/map b/mercurial/templates/paper/map
--- a/mercurial/templates/paper/map
+++ b/mercurial/templates/paper/map
@@ -118,12 +118,6 @@  comparisonline = '
     <td class="source {type}"><a href="#{lineid}">{rightlinenumber}</a> {rightline|escape}</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>'
-
 changesetparent = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
 
 changesetparentdiff = '
@@ -215,22 +209,12 @@  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>