I'm new to Subversion (SVN) coming from a Visual Source Safe (VSS) background. In VSS the person editing a file checks the file out and it locks the other users from editing it through Visual Studio. I understand that SVN is a concurrent model allowing multiple people to work on the same file and later merge the changes together. My question is this:
What is the best approach to avoid having users editing the same file(writing tons and tons of code) and either facing a complicated merge for their changes or even worse writing a ton of code only to find that the file is locked by another user?
Is there a way to notify a user when retrieving a file that it is currently being edited by another user or currently locked by another user?
Other Details:
Using VisualSVN Server as SVN Server.
Using TortoiseSVN and AnkhSVN clients.
Thanks for your help!