[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 'svn cp' disregards svn:needs-lock on Windows

From: Branko ─îibej <brane_at_apache.org>
Date: Sun, 24 Dec 2017 15:30:38 +0100

On 24.12.2017 14:27, Anton Shepelev wrote:
> Hello, all
> Is it an error or expected behavior that local
> 'svn cp' on Windows does not assign the read-only
> attribute to the copies of files that have the
> svn:needs-lock property and are marked as read-only
> in the woking copy at their original locations?

It's expected. The new file is essentially in a 'modified' state, even
though it's contents have not changed. After you commit it, it will
become read-only in the working copy.

-- Brane
Received on 2017-12-24 15:30:53 CET

This is an archived mail posted to the Subversion Users mailing list.