Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Folder is locked and I can't unlock it

When I'm trying to update or commit code from a project it's telling me that the folder is locked. When I try to "release lock" it says that there's nothing to unlock in this working space.

What does that mean? Why I can't update, commit or even clean up the project.

like image 916
Iyad Al aqel Avatar asked Apr 04 '12 20:04

Iyad Al aqel


People also ask

How do I unlock a locked folder?

To unlock a folder, right-click a locked folder and choose Unlock Folders .

How do I force an idea to unlock a file?

Unlock a file Select the file you want to unlock, or open it in the editor. Select VCS | Subversion | Unlock from the main menu, or Subversion | Unlock from the context menu of the selection. To forcibly break a lock set by somebody else, select the Steal Existing Lock checkbox.

How do I remove a padlock from a folder?

Select the file, folder, or drive and right click to open drop down menu. Click Properties. Locate Advanced and click to open. At the bottom, make sure the Encrypt contents to secure data is unchecked.

Why is folder locked?

If you see a lock icon overlaid on your files or folders, it means the sharing or security options have been tampered with, either by you or a software or when changing operating systems and migrating data or when tweaking the HomeGroup settings. The padlock icon means that the file or folder is not shared with anyone.


1 Answers

Right click on your Subversion working directory folder, and select TortoiseSVN->Clean Up from the Context Menu. This will recurse it's way through your working directory and cleanup any incomplete actions, remove the local locks (which is different from using Subversion locking of a file in the repository which lets everyone know about the lock).

If that doesn't work, see if you can find the names of the files that were changed, but not yet committed, save them, and redo the checkout.

like image 63
David W. Avatar answered Oct 05 '22 22:10

David W.