Submitter | Yuya Nishihara |
---|---|
Date | March 24, 2018, 9:53 a.m. |
Message ID | <5814bdd0d29ae544f62c.1521885236@mimosa> |
Download | mbox | patch |
Permalink | /patch/29814/ |
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 1B51E2C2BA; Sat, 24 Mar 2018 05:54:17 -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 hIt1YqrhEBqu; Sat, 24 Mar 2018 05:54:16 -0400 (EDT) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id 3260F2C333; Sat, 24 Mar 2018 05:54:16 -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 804932C332 for <mercurial-devel@mercurial-scm.org>; Sat, 24 Mar 2018 05:54:15 -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 ama7Z5I5PsPm for <mercurial-devel@mercurial-scm.org>; Sat, 24 Mar 2018 05:54:15 -0400 (EDT) Received: from mail-pl0-x22a.google.com (mail-pl0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) by mercurial-scm.org (Postfix) with ESMTPS id 912132C1CC for <mercurial-devel@mercurial-scm.org>; Sat, 24 Mar 2018 05:54:12 -0400 (EDT) Received: by mail-pl0-x22a.google.com with SMTP id p9-v6so8925049pls.2 for <mercurial-devel@mercurial-scm.org>; Sat, 24 Mar 2018 02:54:12 -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=05MzTxjzyv0HVeP3BpHmn8IQcKcc+SygpeQG30wBIgg=; b=dGlNIRw6DZ7lDcA1YiJ4GcT0qR9ew3BDs8CJ1fFzhHgKWjwN7n3SElAn8mtNr+WiZU RJ29kew0aXd7/J4VPOOTI8VipXjCqMAlKKNc0UGKb8DelA5nmttAQBGygZ5jclwJE56h nQ3g1W0aW5D/c2S2cjr8MYpufjZ5sPvu0DbzNWCdLJYrEkCoViUVCrDzSW+/Ef3n3Ljm SOVLHnYYQXLCSg/rpcpcd6ygBH8vK9dVRkJH6h6kOloWefXGxr3DdEpUK94kvKWSayku KpIBz4hzyCs8JZU98G+JPeNAajjLwwF95ajDTeYR6mNbw3I6y7r3TcENrC2qzmWwOjYO tsJQ== 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=05MzTxjzyv0HVeP3BpHmn8IQcKcc+SygpeQG30wBIgg=; b=LlKutv6WDBUr9mbPJOcc1O7u64SxbaKkBX4w+zSPT6d5qmvboHxK4bOSPqbr5LIrla kR+GK6RUncfJGPEU6yOwoS57krmnOYPuoX/a8TydhrQWQbEcfbR4lYOQmaFIKNy0Ur6/ MEhHifWiI0FQxH208RKF983HPKuQD5TlnN+R6Zko177DwNEfMwhyM7jNAL9W4XdwYgi6 5hI1bpopxidJYCj6+nF+ID6rPcFCxZJGLRKS0b3DI3K4RetopNrG/ZYLC98BYksbeZFM e9aAhoiYoe+AXgsrgOpC9wXC195nGiIWi6Eu3Z6OHPCHDNC8HmEDSnFxeapFFEwmM1Wi k0qQ== X-Gm-Message-State: AElRT7Eln2hkibYIKxTJQDz0kASHkN+lpAaY3R1sF6oLFNjQIjhXV27y SODcPrzsAsxH6UgyoJSsqTfXAXw7 X-Google-Smtp-Source: AG47ELuUC+DVdcc294uTORrFY27B/aja0bxylRwMINis1ifJktMI6UI8F587FUflFjYMSyLlvRWKfQ== X-Received: by 2002:a17:902:3181:: with SMTP id x1-v6mr15431157plb.2.1521885251263; Sat, 24 Mar 2018 02:54:11 -0700 (PDT) Received: from [127.0.1.1] (p6e42c1b8.tkyea126.ap.so-net.ne.jp. [110.66.193.184]) by smtp.gmail.com with ESMTPSA id a13sm19370341pgd.1.2018.03.24.02.54.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Mar 2018 02:54:10 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH 4 of 5] util: drop util.Abort in favor of error.Abort (API) X-Mercurial-Node: 5814bdd0d29ae544f62ca6a02678137b7e9de397 X-Mercurial-Series-Index: 4 X-Mercurial-Series-Total: 5 Message-Id: <5814bdd0d29ae544f62c.1521885236@mimosa> X-Mercurial-Series-Id: <9bfb1ec8fb375630cfca.1521885233@mimosa> In-Reply-To: <9bfb1ec8fb375630cfca.1521885233@mimosa> References: <9bfb1ec8fb375630cfca.1521885233@mimosa> User-Agent: Mercurial-patchbomb/4.5.2+1195-a708e1e4d7a8 Date: Sat, 24 Mar 2018 18:53:56 +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 - March 24, 2018, 9:53 a.m.
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1586,8 +1586,6 @@ def increasingchunks(source, min=1024, m if buf: yield ''.join(buf) -Abort = error.Abort - def always(fn): return True