Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Working copy locked error in tortoise svn while committing

I'm using Tortoise SVN to update and commit changes to the repository in the server whenever I make changes to my working copy. But from a few days I'm not able to commit the changes and I get the following error whenever I try to commit.

Working copy 'C:\Program Files\EasyPHP\www\project\php' locked. 'C:\Program Files\EasyPHP\www\project' is already locked. 

I've tried to unlock the folder by right clicking on it and selecting Tortoise SVN > Release lock, it says

There's nothing to unlock. No file has a lock in this working copy

What might be the problem?

like image 601
Anil Avatar asked Aug 01 '12 17:08

Anil


People also ask

Why is SVN locked?

The lock tells other users that the file is being edited, and you can avoid merge issues. When you set up source control, you can configure SVN to make files with certain extensions read only. Users must get a lock on these read-only files before editing.

How do I commit in TortoiseSVN?

Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.


1 Answers

No problem... try this:

  • Go to top level SVN folder.
  • Right click on folder (that has your svn files) > TortoiseSVN > CleanUp

This will surely solve your problem. I did this lots of time... :)

Note. Make sure "Break locks" option is selected in the Cleanup dialog.

like image 180
MicroEyes Avatar answered Oct 24 '22 19:10

MicroEyes