SVN Error – Currently locked by other user

Home / Blogs / SVN Error – Currently locked by other user

When this error happens in your Tortoise SVN Commit screen as shown below, then it means (I assume) that some time back that user had svn-locked that file and later deleted from SVN by using keep-lock in svn commit window (or in somewhere the keep-lock played badly).

How to fix it then?

Go to the logs of that folder in which that the file was locked as explained in error message above (in my case, I went to UserAccountAuthentication logs).  Look for the file in one of the recent revision as below, right click and choose “Browse repository”.

This should bring up the repo version when that file existed in repo.  In the repo browser, right click that error file and choose the “Break Lock”.  This should break the lock of that file even if some user had locked it.

Then try to commit, it should commit perfectly as below.  If the error shows up again, it should be some other file and ensure to do the same process above.

Ajay is a professional developer and architect of LabVIEW applications with extreme interest in getting the hardware connected to LabVIEW and automate the stuffs.  He is also a good mentor for the various interns in his career.  He is ready to help the people in techie roles.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: