I am use tortoiseSVN to synchronize our code. But recent I found that there is something that is not so convenient. When i modify a file, let's say a.jsp, and my colleague might also modify this file, a.jsp, and this may result in conflict, and any one of use need to checkin the his code first, and the other one will need to update to latest version, and then resolve the conflict one by one, and this is really error proned.
So i need some function in tortoise SVN, that can lock the a.jsp when i am editing, and prevent the other collegue to modify the file at the same time. I have tried "lock" function in tortoiseSVN, but it doesn't work, when i lock the a.jsp file, my colleague still can modify this file at the same time without any promotion and alert, just like " your colleague are modifying this file, please modify until the check in" ...
is there any better solution ? Thanks in advance !!