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