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

Re: Something like svn:executable for the read-only bit?

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 16 Jul 2015 02:53:02 +0200

On 16.07.2015 02:41, Evan Driscoll wrote:
> We have some generated files that, for logistical reasons, are way
> easier to just check into the respository alongside the source than to
> build on-demand. (They're small text files, not some big binary or
> something like that.)
>
> Is there a way to instruct Subversion to remove write access when
> checking them out?
>
> Obviously the user could just chmod them to add it back, but the point
> is just to avoid someone unintentionally modifying the generated file
> instead of the source, not to keep people from being jerks. :-)

Setting the svn:needs-lock property will make files in the working copy
read-only.

-- Brane
Received on 2015-07-16 02:53:54 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.