Patchwork paper: get rid of changelogtag template duplication

login
register
mail settings
Submitter Alexander Plavin
Date Aug. 2, 2013, 9:08 p.m.
Message ID <2813b5f5514c7692e74b.1375477700@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1988/
State Superseded
Commit 9cef7539c69ff94205203544e2849407b2451936
Headers show

Comments

Alexander Plavin - Aug. 2, 2013, 9:08 p.m.
# HG changeset patch
# User Alexander Plavin <alexander@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

Patch

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>