[PATCH] hgweb, paper: get rid of changelogtag template duplication

Alexander Plavin me at aplavin.ru
Tue Jul 23 04:25:20 CDT 2013


# HG changeset patch
# User Alexander Plavin <me at aplavin.ru>
# Date 1374498439 -14400
#      Mon Jul 22 17:07:19 2013 +0400
# Node ID af2925fc70e88a031316ce80804ab36856f6db0f
# Parent  b7367409ef4dcb86e2cb5056971af8ac5902906c
hgweb, paper: get rid of changelogtag template duplication

diff -r b7367409ef4d -r af2925fc70e8 mercurial/templates/paper/shortlogentry.tmpl
--- a/mercurial/templates/paper/shortlogentry.tmpl	Sun Jul 21 18:50:54 2013 +0400
+++ b/mercurial/templates/paper/shortlogentry.tmpl	Mon Jul 22 17:07:19 2013 +0400
@@ -1,5 +1,5 @@
  <tr>
   <td class="age">{date|rfc822date}</td>
   <td class="author">{author|person}</td>
-  <td class="description"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags % '<span class="tag">{name|escape}</span> '}{bookmarks % '<span class="tag">{name|escape}</span> '}</td>
+  <td class="description"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}</td>
  </tr>


More information about the Mercurial-devel mailing list