subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@wandisco.com>
Subject Re: Something like svn:executable for the read-only bit?
Date Thu, 16 Jul 2015 00:53:02 GMT
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


Mime
View raw message