SVN error: attempted to lock an already-locked dir
When this problem occurs, use the "clean" function. If not, directly go to the upper-level directory, then execute "clean", and then "Update ".
Sometimes, if you see that the folder in a package does not have the svn flag, you can use "Ctrl + Delete" to manually delete it, then "clean" it, and finally "Update" or "Submit" it ".
Network excerpt 1:
Error Message
Malformed File
SVN: e:/SVN/Repository/CONF/svnserve. conf: 12: Option expected
Cause: There are spaces at the beginning of line 12 of the configuration file.
Error Message
Attempted to lock an already-locked dir
SVN: working copy 'e:/integration/COM. SVN. Practice 'locked
Cause: Use SVN cleanup to lock the last time it was disabled.
Network excerpt 2:
Submitting and updating files in eclipse are incorrect.
Attempted to lock an already-locked dir
SVN: working copy 'f:/workspace/webframe/webroot/Attach/prodrelation 'locked
After the "clear" operation is executed, the problem is resolved.
Many operations, such as interrupted submission, will enter the locked state of the Work copy.
Network excerpt 3:
This is because this problem has occurred frequently in the past two days.
I solve it like this:
1The team members of the Three-ling five-Shen project must first synchronize, merge, and then submit;
2. The clean up command is often used in the parent directory after the operation;
3. If the locked problem persists, delete all files in the directory, including. SVN, and check the same directory of the server again;
4. In short, the operation should be standardized, and the team member's working hours should be emphasized. They should be synchronized in eclipse and submitted after work (before submission, in the right menu of the folder, select group> clear) to ensure that each user's machine is in the latest version before the startup.
In fact, due to version conflicts, submission conflicts, update failures, and other issues, it may take some time to complete. However, I know that my operations are mostly not skillful and nonstandard. I believe that as long as you stick to it, everyone, including my team members, will always like this little turtle :)
Original article: http://www.blogjava.net/coderdream/archive/2008/05/27/203115.html.