"SVN" SVN error: Attempted to lock an already-locked dir

Source: Internet
Author: User

When this problem occurs, use the "clean" function, and if not, go directly to the top level directory, then "clean" and then "Update".

Sometimes if you see a package inside a folder without the SVN flag, directly with "Ctrl+delete" manually deleted, and then "clean", the last "update" or "submit".

Web Excerpt 1:
Error message
Malformed file
Svn:e:\svn\repository\conf\svnserve.conf:12:option expected
Reason:

There are spaces at the beginning of the configuration file 12 line

Error message
Attempted to lock an already-locked dir
svn:working copy ' E:\integration\com.svn.practise ' Locked

Reason:

Need to use SVN cleanup lock on last shutdown

Web Excerpt 2:
Submitting and updating files in Eclipse is a mistake.

Attempted to lock an already-locked dir
svn:working copy ' F:\workspace\WebFrame\WebRoot\attach\prodrelation ' Locked

After you perform a purge operation, the problem is resolved.

Many operations, such as breaking commits, enter the locked state of the working copy.

Web Excerpt 3:
Because these two days frequency of this phenomenon, now basically not afraid of this problem
That's how I solved it:
1 repeated injunctions project members must first synchronize, merge, and submit
2 Always use the clean up command in the parent directory after the operation
3 after resolving the locked problem, when there is a phenomenon that cannot be updated, delete all files under the directory, including. SVN, and check out the same directory once again
4 in short, the operation should be standardized, to emphasize the team working every day, the first in the Eclipse in sync update, if there is conflict reported red, compared to see if there is no red direct update, if there is red this time the update will appear more than one file, with compare do compare merge, at work, to submit (before the submission, First, in the right menu of the folder, select Group > Clear) to ensure that everyone's machine is up-to-date before starting.

5 Also, you can try to integrate Beyongcompare into Eclipse, which is much better than the version control that comes with eclipse, provided the machine needs to install the standby compare,eclipse install the Beyongcvs plugin

Turn from:

http://blog.csdn.net/jabony/article/details/11803757

"SVN" SVN error: Attempted to lock an already-locked dir

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.