From patchwork Sat Jul 13 15:38:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [06,of,11] hgweb: get rid of branchentry template duplication From: Alexander Plavin X-Patchwork-Id: 1864 Message-Id: <4c114146e26d37c1d56e.1373729892@debian-alexander.dolgopa> To: mercurial-devel@selenic.com Date: Sat, 13 Jul 2013 19:38:12 +0400 # HG changeset patch # User Alexander Plavin # Date 1373723484 -14400 # Sat Jul 13 17:51:24 2013 +0400 # Node ID 4c114146e26d37c1d56e311169603e370b712a4c # Parent b72d42843c77c34a74cc53e4f56ae45f5946eda7 hgweb: get rid of branchentry template duplication diff -r b72d42843c77 -r 4c114146e26d mercurial/templates/paper/branches.tmpl --- a/mercurial/templates/paper/branches.tmpl Sat Jul 13 17:49:20 2013 +0400 +++ b/mercurial/templates/paper/branches.tmpl Sat Jul 13 17:51:24 2013 +0400 @@ -47,18 +47,7 @@ branch node -{entries % -' - - - {branch|escape} - - - - {node|short} - - ' -} +{entries % branchentry}