Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06A4018A46 for ; Mon, 28 Mar 2016 13:49:52 +0000 (UTC) Received: (qmail 50331 invoked by uid 500); 28 Mar 2016 13:49:46 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 50274 invoked by uid 500); 28 Mar 2016 13:49:46 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 50244 invoked by uid 99); 28 Mar 2016 13:49:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2016 13:49:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 12091C0315 for ; Mon, 28 Mar 2016 13:49:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=visualsvn.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GuA9A3uIkpMz for ; Mon, 28 Mar 2016 13:49:45 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id E76FA5FAFA for ; Mon, 28 Mar 2016 13:49:44 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id e133so35778629lfe.3 for ; Mon, 28 Mar 2016 06:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=visualsvn.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=UkQ3tMwVjnSltGTyUoSIruk6vhp7kpFOe8bfmZUrH7M=; b=IPP6DozpwcPySejij3FZiJa0Mo9C4VlJOovoKGHZUWQaqCb/IuUuifo+2QM6gMeCuV 7C6IXpG7TC6n5ORefmbqu/EJFBE2Whs7zfOdrAhg2cWpsWXcAnLlcol4k01tO5BL2sLV zrNebtW96ea8Y6GgN9I4VvoaaYdvy4kT+wafw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=UkQ3tMwVjnSltGTyUoSIruk6vhp7kpFOe8bfmZUrH7M=; b=WkwwZqvbnsWrdGqBoYF+yIkWuzocNBxVslqq1oGnQIQwklVcvxoaxcq0jEnHL6V43C rk1QiIq5zjUbg4ciomZd/7oj2nmyH4vQk57G/iFOcMykTNIC0qgtM+8iqLtirWKiuaMr fQjnnHXl+zNiVFnZVbj6Q590tP8h0Ty+xQEXe87jopNo1tfvdSkfhZFbx9fg4yl/zZfK ktgP+cJ0zFej7sS2GCIomEQmIoO14IZUagiBamFxIdIFPCGpb1KgQ+hqiZR73naekWpW JEV32HMBUPPx9hYn1Tvb0iSfDS0Kow3g/gE+p7B1OafWMprfdKVwkYWAm/7cj0dzdPSp n4bA== X-Gm-Message-State: AD7BkJLld3Ul+CypnH3rqAZGdfPhD6dP/mhPZGp43VrXohPfYt/BnZanXORHSkeuYtccv/jXkRxp00o4tXxiOZSM X-Received: by 10.25.17.67 with SMTP id g64mr5204567lfi.112.1459172982865; Mon, 28 Mar 2016 06:49:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.44.8 with HTTP; Mon, 28 Mar 2016 06:49:23 -0700 (PDT) In-Reply-To: <20160328133749.GA84858@jim.stsp.name> References: <20160319221835.DAED23A0051@svn01-us-west.apache.org> <20160328133749.GA84858@jim.stsp.name> From: Ivan Zhakov Date: Mon, 28 Mar 2016 16:49:23 +0300 Message-ID: Subject: Re: svn commit: r1735826 - in /subversion/trunk: ./ subversion/libsvn_subr/prompt.c To: Ivan Zhakov , dev@subversion.apache.org, danielsh@apache.org Content-Type: text/plain; charset=UTF-8 On 28 March 2016 at 16:37, Stefan Sperling wrote: > On Mon, Mar 28, 2016 at 04:13:11PM +0300, Ivan Zhakov wrote: >> On 20 March 2016 at 01:18, wrote: >> > { >> > if (err->apr_err == SVN_ERR_CANCELLED) >> > { >> > - svn_error_clear(err); >> > *may_save_plaintext = FALSE; >> > - return SVN_NO_ERROR; >> > + return err; >> Daniel, do you know what was the original idea behind ignoring the >> SVN_ERR_CANCELLED error? I see stsp committed the original code in >> r870804, so there's probably some rationale behind it. >> >> Stefan, do you remember any details? > > I don't think there was a special reason to ignore the error. > > The question is whether we want Ctrl-C to mean "no" at the plaintext > prompt, or whether it should abort the process. > > I agree with Daniel's patch. Ctrl-C should abort the process. OK. Thanks for clarification! I just wanted to double check that we're not missing something important. -- Ivan Zhakov