Submitter | Yuya Nishihara |
---|---|
Date | May 8, 2018, 1:45 p.m. |
Message ID | <62d21350541a6cebb69c.1525787129@mimosa> |
Download | mbox | patch |
Permalink | /patch/31376/ |
State | Accepted |
Headers | show
Return-Path: <mercurial-devel-bounces@mercurial-scm.org> X-Original-To: patchwork@mercurial-scm.org Delivered-To: patchwork@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id DA6402C1B8; Tue, 8 May 2018 09:45:45 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6Z5GEZ7-mogU; Tue, 8 May 2018 09:45:45 -0400 (EDT) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id 827DB2C242; Tue, 8 May 2018 09:45:44 -0400 (EDT) X-Original-To: mercurial-devel@mercurial-scm.org Delivered-To: mercurial-devel@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 6731C2C1E7 for <mercurial-devel@mercurial-scm.org>; Tue, 8 May 2018 09:45:43 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FToyS_Nto8d2 for <mercurial-devel@mercurial-scm.org>; Tue, 8 May 2018 09:45:43 -0400 (EDT) Received: from mail-pf0-x229.google.com (mail-pf0-x229.google.com [IPv6:2607:f8b0:400e:c00::229]) by mercurial-scm.org (Postfix) with ESMTPS id 5057B2C242 for <mercurial-devel@mercurial-scm.org>; Tue, 8 May 2018 09:45:42 -0400 (EDT) Received: by mail-pf0-x229.google.com with SMTP id o76so24000438pfi.5 for <mercurial-devel@mercurial-scm.org>; Tue, 08 May 2018 06:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:mime-version:content-transfer-encoding:subject:message-id :in-reply-to:references:user-agent:date:from:to; bh=h0S0MRIJTyh3vJiRG2/He3m2WJbh/eFnM3bjsSwLPUc=; b=opyBDEvADTeiKp4gIyzXows76PvXiA4WIujxms/YBYRiIyHX2uEoTotwsZnMUFSz+r 6swovLKRjKJH7wI2ikiWATJGDgj3MF4SIs+abiPOszVM0hkXoIOblQZnZSznctCbEuFh +Z1RQGgoOT6/a6K+4WlOKOBobARk3hADiQ9hyH4v+K0SW5OOpr59NAaZclPen+HExo3w 07gZCCIuXqvAvgUFExdPBaznQtxejfecOwwp9rpoK/yhJeKyx9uA0Q6mSPbGtL0h0swB GYjwqWDLXf+4DTeQdY2FiHcWof6qp9vl3OEyKHG9FQlVqlFz9b9IFOj1HvM7WEZASTl/ VUsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:content-transfer-encoding :subject:message-id:in-reply-to:references:user-agent:date:from:to; bh=h0S0MRIJTyh3vJiRG2/He3m2WJbh/eFnM3bjsSwLPUc=; b=Js7b9fOvupFbh/sDoYQiIv3/mkLS0ZvIDWpNkB/Jv+PskhMp3QLyGV4GPK6ZD76UyE T1mLIvJ8kPqxzDLy6St/bsF3WrRubYPYA0XZkmDa5n5jM77QNxIZt91V34f/AorC0iSc sq9UEf/Bgd9hNwVkwpmw3L89p7h3HpJ8ClzpVyn0Cnub/Pl21jF78RGk8scCYZxLr4w5 rxK4PbXCxrdZ37eRyjIUgkzOT78cjLNGssdQCeXEDQSS6pPvjH4fkJnCGSXDRf55qDtS 6DKOIamxXYLmWOTVWDHbl8y//sLdcli1QeRVgqMnF2M6FWfX5miCbCmsljFKG3FlEmK3 uBnA== X-Gm-Message-State: ALQs6tBah4jwWpY2Wic+/aMEpsXbdB4aae9/5rDoJWFzx8Pm4hHgxi13 exh6xmy6o33Q5EPdfRCEE7PULOpB X-Google-Smtp-Source: AB8JxZog9lFXbWMYYH9a0J6NquL2qA8OFLwQHbYwEvSRgNSZd5rs2jW+o6vcaSmBJDwDXpxE7WzVmQ== X-Received: by 2002:a63:a50a:: with SMTP id n10-v6mr33314118pgf.141.1525787141239; Tue, 08 May 2018 06:45:41 -0700 (PDT) Received: from [127.0.1.1] (p73a23328.tkyea126.ap.so-net.ne.jp. [115.162.51.40]) by smtp.gmail.com with ESMTPSA id j11-v6sm2334710pgq.83.2018.05.08.06.45.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 06:45:40 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH 2 of 6] hgweb: wrap {tags} by hybridlist() X-Mercurial-Node: 62d21350541a6cebb69c29651a61a5cdb51a6992 X-Mercurial-Series-Index: 2 X-Mercurial-Series-Total: 6 Message-Id: <62d21350541a6cebb69c.1525787129@mimosa> X-Mercurial-Series-Id: <5eacc9485b57f6bc1a22.1525787128@mimosa> In-Reply-To: <5eacc9485b57f6bc1a22.1525787128@mimosa> References: <5eacc9485b57f6bc1a22.1525787128@mimosa> User-Agent: Mercurial-patchbomb/4.6+7-853001c84114 Date: Tue, 08 May 2018 22:45:29 +0900 From: Yuya Nishihara <yuya@tcha.org> To: mercurial-devel@mercurial-scm.org X-BeenThere: mercurial-devel@mercurial-scm.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.mercurial-scm.org> List-Unsubscribe: <https://www.mercurial-scm.org/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=unsubscribe> List-Archive: <http://www.mercurial-scm.org/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@mercurial-scm.org> List-Help: <mailto:mercurial-devel-request@mercurial-scm.org?subject=help> List-Subscribe: <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@mercurial-scm.org Sender: "Mercurial-devel" <mercurial-devel-bounces@mercurial-scm.org> |
Comments
Yuya Nishihara - May 8, 2018, 1:45 p.m.
Patch
diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py +++ b/mercurial/hgweb/webutil.py @@ -238,7 +238,7 @@ def renamelink(fctx): return templateutil.mappinglist([]) def nodetagsdict(repo, node): - return [{"name": i} for i in repo.nodetags(node)] + return templateutil.hybridlist(repo.nodetags(node), name='name') def nodebookmarksdict(repo, node): return [{"name": i} for i in repo.nodebookmarks(node)]