Attempted to lock an already-locked dir: Subversion issue

[Solved] Error message: "Attempted to lock an already-locked dir" - svn: Working copy locked.

"Attempted to lock an already-locked dir" - svn: Working copy locked; this message is frequently faced by users of SubVersion (SVN) source repository. The message is self explanatory; simply some source files are locked and no commit or update operations allowed on those files/folders. In some occasions, Software developers in a team receive this message in a SVN operation even though none of them have locked the files or folders; causing confusion. So how would you try and resolve?

We use Subversion to create and store our projects in repositories; Subclipe (an Eclipse plugin) as the client tool to connect to repository.

We tried following solutions

1. Commit Changes - change and commit changes into repository
2. File Delete - delete the files and commit the delete into repository
3. Override & update - override the local changes and update from repository

None of the above options resolved the issue, but got the same type of error messages. Followings are the error messages shown inside Eclipse while trying the above mentioned options.
commit -m C:/workspace/MyProject/config.properties
    Attempted to lock an already-locked dir
svn: Working copy 'C:\workspace\MyProject' locked
update -r 13 C:/workspace/MyProject/src
    Attempted to lock an already-locked dir
svn: Working copy 'C:\workspace\MyProject' locked
delete --force C:/workspace/MyProject/config.properties
    Attempted to lock an already-locked dir
svn: Working copy 'C:\workspace\MyProject' locked

Use Cleanup command

Subversion:Team-Cleanup Subversion supports a command named "Cleanup"; it is used to release the locks on a project.

If you have faced with the above issue while no one has locked the project files, you can run this command and resolve the issue.

You do this in Eclipse by right clicking the project; then Team->Cleanup as shown in the image.

COMMENTS

BLOGGER: 63
Loading...

Read More...

Name

About,2,Adsense,3,Ant,1,Apache,3,Axis,3,Blogger,1,Books,1,CentOS,2,Chrome,2,CSS,2,Database,3,Earn Online,3,Eclipse,10,Facebook,1,Firefox,10,Gmail,4,GNU/Linux,9,Google,26,GWT,8,Hardware,2,IE,5,Interesting,15,Internet,14,Java,49,Javascript,7,JBoss,1,Jenkins,1,Log4j,2,Me,6,Microsoft,2,Miscellaneous,1,News,11,Opinion,10,OSGi,1,PHP,1,Productivity,3,Programming,36,Puzzle,3,Security,4,Software,41,Sports,9,Spring,2,Story,6,Subversion,3,TDD,4,Tech,2,Tips,1,Tomcat,6,Tutorial,13,Ubuntu,4,Web application,14,Web Design,2,Web services,3,Windows,10,Yahoo,1,Zip,2,
ltr
item
Digizol: Attempted to lock an already-locked dir: Subversion issue
Attempted to lock an already-locked dir: Subversion issue
[Solved] Error message: "Attempted to lock an already-locked dir" - svn: Working copy locked.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhziLyvZSLc4IDYb_3LHQDUMtqh4rwv6ucHDJK_vrWPviZunLE0-mTrra5_z9ju3JTW1dsthWIeIbPSHNwJBlvWl1Gsvb8oQfUBqsP_8iJwuwbD7vfMgYV1FNsTbRPyLp3BsviSMQ/s1600/already+locked+www.digizol.com.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhziLyvZSLc4IDYb_3LHQDUMtqh4rwv6ucHDJK_vrWPviZunLE0-mTrra5_z9ju3JTW1dsthWIeIbPSHNwJBlvWl1Gsvb8oQfUBqsP_8iJwuwbD7vfMgYV1FNsTbRPyLp3BsviSMQ/s72-c/already+locked+www.digizol.com.jpg
Digizol
https://www.digizol.com/2009/07/attempted-already-locked-subversion.html
https://www.digizol.com/
https://www.digizol.com/
https://www.digizol.com/2009/07/attempted-already-locked-subversion.html
true
7440473
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy