Reputation: 317
Is it possible to make the non-modified files in a local SVN repository read only until someone changes them and the, once commited, make them back readonly?
I don't want to implement the lock-modify-commit pattern. I just want to have local copies readonly and have some sort of "checkout" command that will make the file modifiable. I am looking to make the developer more aware of the files he/she is changing.
Thanks
Upvotes: 2
Views: 265
Reputation: 10580
The Microsoft MS-SCCI interface defines a checkout and lock, checkin and unlock protocol.
So if you're developer tools support the MS-SCCI interface then you could use any SVN plug-in that supports this interface.
As an example the Agent SVN supports MS-SCCI and it has this feature and works with MS-SCCI compatible IDEs like Visual Studio, SSMS or PowerBuilder.
Note: I'm the author of Agent SVN.
Upvotes: 2