From users-return-27819-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Thu Feb 21 18:44:33 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E5A2A18064C for ; Thu, 21 Feb 2019 19:44:32 +0100 (CET) Received: (qmail 90503 invoked by uid 500); 21 Feb 2019 18:44:31 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 90487 invoked by uid 99); 21 Feb 2019 18:44:31 -0000 Received: from mail-relay.apache.org (HELO mailrelay1-lw-us.apache.org) (207.244.88.152) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2019 18:44:31 +0000 Received: from [172.17.13.2] (unknown [77.234.149.122]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 6F8C41225 for ; Thu, 21 Feb 2019 18:44:30 +0000 (UTC) Subject: Re: svn cleanup options To: users@subversion.apache.org References: <20190214142920.GA64432@ted.stsp.name> <20190214143347.GB64432@ted.stsp.name> <40acba18-fa05-562f-8341-71f98b0e4384@apache.org> From: =?UTF-8?Q?Branko_=c4=8cibej?= Openpgp: preference=signencrypt Autocrypt: addr=brane@apache.org; prefer-encrypt=mutual; keydata= mQINBFG3qpMBEACi+jRQDd2TiYeAxVgrLZ3cyyuGOFSMh4nCyUOG9BwXC69cDLH48RcE0Mpu TFTGlfdokz6JgLKU3uqShPXiflrL6JIVnJX4rTEKRzFNkcS6Zq0PfNRnFnkwiD2KIzyAG8XE y0c1Bt7hqZ5dfXaC1b7Xo+1cnlqjdLAOnr1ruTrtfQ5sO81p9jYtARVa+iVmf8bs/FvC9Yn2 QtEDtuUfUUHx2bnB9vmh8tOjErfIcWtzCPt8uTUkmiszlkRMiB5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ZummrlhOv3ItKXETVhh2qeIQ/7zCjuw5rQk606+2 isg6cs4Nwtie1rXQ1KFtkTNQqWfqyM4PrEP9Bq5pWBQVkcxDsxk1Yj3A8L80IY3Hzwm8nRlq F+HkD/0IPgHICVDyiOB4XZtqVk+DHNOolCcdrFSXOcwt+qwD5zk4p0hdHKHagAPGBDXS8shm k2vaUDbKMUoVDdj579Jtp4tNOoVEEqqXspT995w7+ckbHGoQhFlSxCwtaXCr/8wwdwcCA2eO w0aLYrU04EbnH7Ryj4aTjsBGvJdmyZQT8/lTj5VARbEkNXTdTOs61pebDliyWtcF9Uz9b44p cLNniphcBO4SP/IMlEh8pBAJ1C2QlD4G90iJ1WK0MsJsUDix9Vb5s1AE6WA/Ss1iPCOdhhif eToCAwoobIipoxUZF2ik3oESskmMDolpVBiaPaFg+YPtNp/53dLap7jBNRNgyKXaGJAZaolp L+9hCU1EOWswqusDHDFSRUuYOXfuXZJxcbQUTnhQhRbvSDy3tDMRGd252Ur1sCOU5g== Organization: The Apache Software Foundation Message-ID: <593d5d51-df12-3e98-99cf-4580c3bad9fb@apache.org> Date: Thu, 21 Feb 2019 19:44:28 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: sl On 15.02.2019 10:23, Cooke, Mark wrote: >> -----Original Message----- >> From: Branko Čibej [mailto:brane@apache.org] >> Sent: Friday, February 15, 2019 7:43 AM >> >> On 15.02.2019 08:02, Cooke, Mark wrote: >>>> -----Original Message----- >>>> From: Branko Čibej [mailto:brane@apache.org] >>>> Sent: Thursday, February 14, 2019 3:17 PM >>>> >>>> On 14.02.2019 15:33, Stefan Sperling wrote: >>>>> On Thu, Feb 14, 2019 at 03:29:20PM +0100, Stefan Sperling wrote: >>>>>> On Thu, Feb 14, 2019 at 01:55:10PM +0000, Cooke, Mark wrote: >>>>>>> Is there any way to say "ignore errors" or "ignore read-only" or even "remove read-only"? >>>>>>> >>>>>> Well, it should already work without errors. >>>>>> I am not sure why it does not work for you :-/ >>>>> Oh, if I remember correctly, Windows has this odd quirk where it is >>>>> unable to delete files which are being held open by an application. >>>>> >>>>> Is this is happening in your case? If so, you will need to close these >>>>> files first. This is not Subversion-specific; every program on Windows >>>>> is affected by this issue. >>> Sorry Stefan, I did not see your reply. I have been bitten by that before and I am fairly confident these files >> are not open. >>>> That's true but 'open by an application' and 'has read-only flag set' >>>> are two different things. Still, Subversion's 'make file read/write' >>>> will clear the Windows read-only flag specifically for this reason. >>>> Perhaps the read-only files are in some unversioned directory? We might >>>> have missed this case. >>>> >>>> -- Brane >>> Thanks Brane, you are right, the read-only items are in a sub-folder that is copied in as part of the setup (and >> then set as read-only). Some of the run time files are stored outside the source tree and then copied in to the >> required locations before building the setup executables. >>> As it happens I am only really bothered about a specific sub-folder, so I have updated the script to clear the >> read-only flag before running the svn commands. >>> The issue you have identified is still there but is it worth fixing? >> >> Yes, it's worth fixing, because it's a bug. :) If we have the >> --remove-unversioned option and it happens not to work because we fail >> to clear the read-only bit on files within unversioned directories, >> well, we should fix that. >> >> Can you file an issue in https://issues.apache.org/jira/projects/SVN please? >> >> -- Brane > Thanks Brane: https://issues.apache.org/jira/browse/SVN-4806 This is now fixed on trunk for 1.12.0, and proposed for the next 1.9.x, 1.10.x and 1.11.x releases. -- Brane