[PATCH] paper: get rid of changelogtag template duplication

Alexander Plavin alexander at plav.in
Fri Aug 2 16:12:19 CDT 2013


# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1374498439 -14400
#      Mon Jul 22 17:07:19 2013 +0400
# Node ID 2813b5f5514c7692e74befe2fee13ee58170b8df
# Parent  a58251c0568fc5e86089a803ca75f75cc8c01678
paper: get rid of changelogtag template duplication

diff -r a58251c0568f -r 2813b5f5514c mercurial/templates/paper/shortlogentry.tmpl
--- a/mercurial/templates/paper/shortlogentry.tmpl	Thu Aug 01 22:52:05 2013 -0500
+++ 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