Submitter | Pulkit Goyal |
---|---|
Date | Feb. 23, 2018, 6:15 p.m. |
Message ID | <6610c379cb0f90d9dbdc.1519409717@workspace> |
Download | mbox | patch |
Permalink | /patch/28291/ |
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 DB1832C2CE; Fri, 23 Feb 2018 13:44:34 -0500 (EST) 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 3mHviKaJiOH8; Fri, 23 Feb 2018 13:44:34 -0500 (EST) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id 8D9082C2C9; Fri, 23 Feb 2018 13:44:34 -0500 (EST) 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 A6C662C2C9 for <mercurial-devel@mercurial-scm.org>; Fri, 23 Feb 2018 13:44:33 -0500 (EST) 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 3loZw-OcgeVJ for <mercurial-devel@mercurial-scm.org>; Fri, 23 Feb 2018 13:44:33 -0500 (EST) Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) by mercurial-scm.org (Postfix) with ESMTPS id 4EDFC2C2C4 for <mercurial-devel@mercurial-scm.org>; Fri, 23 Feb 2018 13:44:33 -0500 (EST) Received: by mail-pf0-x244.google.com with SMTP id z24so3859796pfh.13 for <mercurial-devel@mercurial-scm.org>; Fri, 23 Feb 2018 10:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:content-transfer-encoding:subject:message-id :in-reply-to:references:user-agent:date:from:to; bh=3jHbD7CZh215Knf0agy7bICh9Xd0fH7sJFcWaJATgOU=; b=mQCOHw1vHHnBd+SivhJ/M1oBBCpbM47Qt2Lu/9tJMQnAlpsivUUJMXVD1Lm9e6AmPM nbvTczPnWHvhklS3xwfYx4CBSmdQHKypCrVvQvofpA9NGPr+O89aZPJQLtGhA98cSH6R 4sPABMEg+hoRKMhQEBnHY5BWSblkV2Ny+ahhte9s4vFV9yF9wAYSZ8XG8eBOc/Lg8N9j NF+wtDO1K1NQyqSf9WwrLM73PJGhGKSM+uokppVPfEamv36BDzQ5/lFkZuHAmipCdnqS iPUnl1NRsutRRTihRHSZUKbWc+ffg556Zy32JKdIzj1XdP3yK7OkPcTz3zDbwvokUEBd Ag8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:subject :message-id:in-reply-to:references:user-agent:date:from:to; bh=3jHbD7CZh215Knf0agy7bICh9Xd0fH7sJFcWaJATgOU=; b=U2RYM8kqGqUQJ2l1dSNb2hzyJmXibGjacDXcPrtl0RAGAHiR1TaFTcv3tryEStClXh avMafQ8ONoOn3jFYMiYTX5uE6L9B8HPWtVq2sj91onK2dmtYv9vF4X/6eJvLMl7gdsz5 skNd3saX2EWzA6kE8vk0ykoqIo/e+nsTpUKDXk/XGWFEsogsYh0Rt6n5nc9PoNSDLg87 UCmLp2bAuDQ2EVE2L2Vc/vWO3GnRN8u1BbgvaYG4vlztl/2ErxhH5A1VBuEtTmbYj7lX dLVX66d1hxsbVuhrMlPSePdmrr23sI/Bw6cdVpnr53d4tn1PFKSJbPHz3yt0ax8hY8mT bOaA== X-Gm-Message-State: APf1xPD64MOSCl9FmFaRo3DsJ1u0Bxa22zpzMF6BdS8JI/+e4tYuDzNG 4MD1dcjo4Rdz8X7AiQ7mvztIFnLD X-Google-Smtp-Source: AH8x227Q8vSs1T5J06c4ngfBj38x9zelLh76ja7vBdzl334BmGbYnYaBoJ4S5bLA4gPnd6hQkhww5A== X-Received: by 10.101.86.1 with SMTP id l1mr2128788pgs.140.1519409743699; Fri, 23 Feb 2018 10:15:43 -0800 (PST) Received: from [127.0.1.1] ([2405:205:31a6:7bd0:c920:aae2:4c6a:6b9a]) by smtp.gmail.com with ESMTPSA id w23sm4652046pfk.10.2018.02.23.10.15.41 for <mercurial-devel@mercurial-scm.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 10:15:43 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH 04 of 11] py3: fix keyword arguments handling in hgext/acl.py X-Mercurial-Node: 6610c379cb0f90d9dbdc787e3d7982fce07ded86 X-Mercurial-Series-Index: 4 X-Mercurial-Series-Total: 11 Message-Id: <6610c379cb0f90d9dbdc.1519409717@workspace> X-Mercurial-Series-Id: <ea8a43155c3d51289609.1519409714@workspace> In-Reply-To: <ea8a43155c3d51289609.1519409714@workspace> References: <ea8a43155c3d51289609.1519409714@workspace> User-Agent: Mercurial-patchbomb/4.5-rc+2-de23345e2b6b Date: Fri, 23 Feb 2018 23:45:17 +0530 From: Pulkit Goyal <7895pulkit@gmail.com> 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
Pulkit Goyal - Feb. 23, 2018, 6:15 p.m.
Patch
diff --git a/hgext/acl.py b/hgext/acl.py --- a/hgext/acl.py +++ b/hgext/acl.py @@ -335,8 +335,8 @@ def hook(ui, repo, hooktype, node=None, return user = None - if source == 'serve' and 'url' in kwargs: - url = kwargs['url'].split(':') + if source == 'serve' and r'url' in kwargs: + url = kwargs[r'url'].split(':') if url[0] == 'remote' and url[1].startswith('http'): user = urlreq.unquote(url[3])