SVN error on Eclipse: org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir
I met an svn eclipse error while attempting to committing to svn repository. I was thinking I might aswell share how I resolve this problem to everyone.
SVN error on Eclipse: org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir
org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir
svn: Working copy ‘D:\htdocs_svn\sites\all\modules’ locked
org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir
svn: Working copy ‘D:\htdocs_svn\sites\all\modules’ locked
To be able to get rid of it, I did the following:
1. Right click on project folder
2. Goto Team and click Cleanup
3. Try to commit again
In my understanding, it happens when there is a pending session which already locked the working directory copy. So, to get rid of it.. You'll need to remove the old session by deleting them through svn cleanup.
Good luck!
0 Comments