Patchwork hgweb, paper: get rid of changelogtag template duplication

login
register
mail settings
Submitter Alexander Plavin
Date July 23, 2013, 9:25 a.m.
Message ID <af2925fc70e88a031316.1374571520@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1946/
State Superseded, archived
Headers show

Comments

Alexander Plavin - July 23, 2013, 9:25 a.m.
# HG changeset patch
# User Alexander Plavin <me@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
Matt Mackall - July 25, 2013, 6 a.m.
On Tue, 2013-07-23 at 13:25 +0400, Alexander Plavin wrote:
> # HG changeset patch
> # User Alexander Plavin <me@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

This is a cleanup, not a bugfix. Dropping for now.

Also "paper:" is sufficient as a keyword.

Patch

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>