Submitter | Yuya Nishihara |
---|---|
Date | May 8, 2018, 1:45 p.m. |
Message ID | <d63045f0f8bb827b8740.1525787130@mimosa> |
Download | mbox | patch |
Permalink | /patch/31377/ |
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 358462C1CB; Tue, 8 May 2018 09:45:49 -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 OzwwNLCrDmSv; Tue, 8 May 2018 09:45:48 -0400 (EDT) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id 9FBD12C242; Tue, 8 May 2018 09:45:47 -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 AF2832C1E7 for <mercurial-devel@mercurial-scm.org>; 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 zLQ0vSQkDZFW for <mercurial-devel@mercurial-scm.org>; Tue, 8 May 2018 09:45:45 -0400 (EDT) Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) by mercurial-scm.org (Postfix) with ESMTPS id 3B5B42C1B8 for <mercurial-devel@mercurial-scm.org>; Tue, 8 May 2018 09:45:44 -0400 (EDT) Received: by mail-pf0-x231.google.com with SMTP id p12so23976832pff.13 for <mercurial-devel@mercurial-scm.org>; Tue, 08 May 2018 06:45:44 -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=Vh0Dibgcmx2ioDdflhz1YtGf6yiwzE4Xdxpyiwv3haE=; b=JiJUPu13Jt/nuFKLZqK9LrfvvvI6TW7JIxwSgftajwIJP/+UXywNkFNpKvo9Ih7dNA oN02WULIFFPJmXSy5HuUL7SxtoFQK3Ektj9+R/yHi6atAVHywoWRIZBjMOhvlf9uRt5D 5FA5TCZD9XMf0Y67DmTc/cI9iXUHqQP+vqbqoOLj+F9Xba44+peGLg6qf8AR8TP89WrO ukrFMFYreSyKFsBDsgasL/Wk0oNOCqqqjk0wUx/20AfUsPD16trpCM1caSA3rOFYzyP4 2StLdKcAkc+RnJe2Az41ZlFhiUKwlD1o/R1QRVYTc5XF86UHddF/cNOoc/MEjWdU64O3 4aSQ== 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=Vh0Dibgcmx2ioDdflhz1YtGf6yiwzE4Xdxpyiwv3haE=; b=Zdd5NmzniKf96+D22YLsIC5/w58u6hoJ7BgLuuN6BPkL4Q8Upe7ckLcvWRt5s5s5LP RflOZle8OFEup5hjjv5V4rcYeGkakJqmNf9j5Ze8TPyq7alKKAGrkJxH8al1WandP89N 6sELZpFuiNYlNbOJTQzvVgMKc1sgx7fZkvtezzi5TbbOQRd1OSi+UdqboEcqjP3cmHMs WBK5NVfSBwB8xgfgm9iWWg5b6XUiWp0CFndzTABh4Bocp9HgVtvRQJq4hxpOKiMcbExM GTd68Wf56fQxhIddpBCB0jKeQHkZN2M/O6c2p+epyFkRUHO+5Um2+RleIBeZlkCRLbyD idOQ== X-Gm-Message-State: ALKqPwfaitBi1Ri6zaedQ977q987z84qAQOS4wZ+ZBiZ7trEhnnePQj3 4m+Ar4eocgc970tgBLYFqTh8ckRp X-Google-Smtp-Source: AB8JxZpPb3FLQhkAkL1ux5ugAg3tHci6so160L4VNWoCueEQ3yfK+GfrhSpQ924RYaSnizKx3f6ofw== X-Received: by 2002:a63:6307:: with SMTP id x7-v6mr1044451pgb.269.1525787143250; Tue, 08 May 2018 06:45:43 -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.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 06:45:42 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH 3 of 6] hgweb: wrap {bookmarks} by hybridlist() X-Mercurial-Node: d63045f0f8bb827b8740274c52b7789e30439cb4 X-Mercurial-Series-Index: 3 X-Mercurial-Series-Total: 6 Message-Id: <d63045f0f8bb827b8740.1525787130@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:30 +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 @@ -241,7 +241,7 @@ def nodetagsdict(repo, node): return templateutil.hybridlist(repo.nodetags(node), name='name') def nodebookmarksdict(repo, node): - return [{"name": i} for i in repo.nodebookmarks(node)] + return templateutil.hybridlist(repo.nodebookmarks(node), name='name') def nodebranchdict(repo, ctx): branches = []