The role of SVN clean up

Source: Internet
Author: User

When SVN is updated locally, the user cancels because some operations interrupt the update, such as insufficient disk space. May cause local files to be locked. The workaround for this scenario is generally:

1. You can use SVN clean up to clear the lock.

2, if the directory is not locked, the system prompts for a directory lock, need to go to the previous level or root directory to clear.

3. If the root directory is not clean, the general approach is to find another directory to re-checkout. Sometimes, however, there may be some locally modified files in the SVN directory that have not yet been submitted to the SVN server, and the re-checkout need to be aware of the backup of the local files, and do not force overwriting content that is modified by others on the server.

4. If you feel that the 3rd kind of trouble, you can consider such a method. In fact, SVN lock will generate a file named lock in. SVN (hidden file), find all, manually delete. Then try the update again, and you may be prompted that a. base file is inaccessible. Find it, delete the relevant file or the directory in which it is located, and update it again. The workload is much smaller.

Reprinted from http://blog.csdn.net/scyatcs/article/details/21942289

The role of SVN clean up

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.