From patchwork Wed Jul 17 19:24:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: hgweb: get rid of branchentry template duplication From: Alexander Plavin X-Patchwork-Id: 1913 Message-Id: <93b219276e0ed4f43eba.1374089082@debian-alexander.dolgopa> To: mercurial-devel@selenic.com Date: Wed, 17 Jul 2013 23:24:42 +0400 # HG changeset patch # User Alexander Plavin # Date 1373723484 -14400 # Sat Jul 13 17:51:24 2013 +0400 # Node ID 93b219276e0ed4f43eba87cd801f971e5200ce83 # Parent 9647be8f7af26a0cbf15078207fa8870aebc9ad4 hgweb: get rid of branchentry template duplication diff -r 9647be8f7af2 -r 93b219276e0e 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}