[PATCH 1 of 4] paper: remove unused templates

Anton Shestakov av6 at dwimlabs.net
Thu Sep 22 05:24:40 UTC 2016


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

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>


More information about the Mercurial-devel mailing list