Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: E155004: ..(path of resource).. is already locked

Tags:

svn

I'm getting an error when trying to commit a change to a repository. I'm sure that my resources (classes) are not locked but it still gives me the error:

Some resources were not updated. svn: E155004: Working copy 'D:\svnworkspace\crm\weblayer\com\lmkr\crm\web\model\dashboard' locked svn: E155004: 'D:\svnworkspace\crm' is already locked 
like image 944
bitguider Avatar asked May 08 '13 06:05

bitguider


2 Answers

Update and clean your working copy.

svn update svn cleanup 

If nothing else works, save your changes as a patch (TortoiseSVNCreate patch... or svn diff > changes.diff), and check out the repository anew. You can then apply the patch to the new working copy (TortoiseSVNApply patch... or svn patch changes.diff).

like image 99
Markus Jarderot Avatar answered Oct 08 '22 16:10

Markus Jarderot


Solution:

Step1: Have to remove “lock” file which present under “.svn” hidden file.

Step2: In case if there is no “lock” file then you would see “we.db” you have to open this database and need to delete content alone from the following tables

– lock

– wc_lock

Step3: Clean your project

Step4: Try to commit now.

Step5: Done.

like image 30
R3ing Avatar answered Oct 08 '22 14:10

R3ing