Last week I learned all about svn properties. One of them is the svn:needs-lock property. This forces you to require a lock before you can make a commit.
Very handy if you have binary files in your project, which is under version control. Binary files can’t be merged, so if multiple developers are editing this file the slowest will have a problem.
I use it for enforcing the Excel sheets which contain the testdata for DBUnit. Subclipse show a nice icon which indicates you need a lock. Subversive does not show this, but, as does Subclipse, let’s you open the file in readonly.
KR,
Andries
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.