[PATCH 1 of 4] hgweb: close <th> properly in spartan/filelogentry.tmpl

Anton Shestakov engored at ya.ru
Sat Jan 10 13:41:42 UTC 2015


# HG changeset patch
# User Anton Shestakov <engored at ya.ru>
# Date 1420883094 -28800
#      Sat Jan 10 17:44:54 2015 +0800
# Node ID febf58cfae9ec7f8a29ab785d145169998008d55
# Parent  678f53865c6860a950392691814766957ee89316
hgweb: close <th> properly in spartan/filelogentry.tmpl

diff --git a/mercurial/templates/spartan/filelogentry.tmpl b/mercurial/templates/spartan/filelogentry.tmpl
--- a/mercurial/templates/spartan/filelogentry.tmpl
+++ b/mercurial/templates/spartan/filelogentry.tmpl
@@ -4,7 +4,7 @@
   <th class="firstline"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th>
  </tr>
  <tr>
-  <th class="revision">revision {filerev}:</td>
+  <th class="revision">revision {filerev}:</th>
   <td class="node">
    <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
    <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a>
diff --git a/tests/test-hgweb-filelog.t b/tests/test-hgweb-filelog.t
--- a/tests/test-hgweb-filelog.t
+++ b/tests/test-hgweb-filelog.t
@@ -643,7 +643,7 @@ should show base link, use spartan becau
     <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
    </tr>
    <tr>
-    <th class="revision">revision 1:</td>
+    <th class="revision">revision 1:</th>
     <td class="node">
      <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
      <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
@@ -668,7 +668,7 @@ should show base link, use spartan becau
     <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
    </tr>
    <tr>
-    <th class="revision">revision 0:</td>
+    <th class="revision">revision 0:</th>
     <td class="node">
      <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
      <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>


More information about the Mercurial-devel mailing list