SVN error: attempted to lock an already-locked dir

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.