Optional: Lock Solution when Checked Out
When you open a solution (download from svn) add the option to lock the solution so that others cannot download a solution that is already checked out.
Levels of locking:
1. Warn new users that the project is already checked out - but allow to continue
2. Download readonly copy until the full version is checked back in
3. Stop Visual Studio opening the solution while checked out
and also allow an override to clear the locks
Subversion promotes merging on conflicts over pre-emptive locking.
If you have files where this doesn’t work (like some document formats) you can add a svn:needs-lock property which will require users to obtain an exclusive subversion lock before editting and committing this file. AnkhSVN will handle files with this property in the same way as Visual Sourcesafe handles all its files.
Fully locking out other clients can only be handled on the repository side. This svn:needs-lock handling is probably the best we can do on the AnkhSVN level.