SVN is already locked

Source: Internet
Author: User

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

2. Sometimes if you see a package inside the folder does not have the SVN flag, directly with "ctrl+delete" manually Delete, and then "clean up", the last "update" or "submit".

3. Sometimes some files can not be submitted and updated, there is a lock word hint,: first click on the file, then Getlock, then select Steallock, and then release lock can

SVN introduction

Check Out (Checkout):
Remove a new version from the repository.

Commit (Commit):
The modifications to the working copy are sent to the repository.

Updated (update):
Download a record of the latest repository file.

Lock-Modify-Unlock:
1. A file in the repository for a certain period of time allows only one person to modify it until it is unlocked.
2. Lock (Get Lock), unlock (Release lock)



Restore (Revert):
Cancels the most recent operation (only for the client, the service side does not make changes).

Update to a specific version (update to revision):
A copy of the local file, updated to the specified version on the server.

Rename (Rename):
Rename files that have been included in SVN management.

Add:
Add files to svn, and the files will be included in SVN management.

Remove (delete):
Delete files that have been recently included in SVN management.

Cleanup (clean up):
SVN update, due to some operations interrupt update (insufficient disk space, etc.), may cause the local file is locked,
Workaround:
1. Use clean up to clear the lock.
2. If it is not in this directory, go to the top directory to find the root directory.
3. Sometimes, the root directory cannot be clean up, and the other directory is re-check out.
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 its directory, re-update, the workload is much smaller.


Branch/Baseline (Branch/tag):
SVN project directory, there are 3 subdirectories: Trunk, Branch, Tag
1. The Trunk:trunk directory is the home directory, which is the working directory. Most commit, update operations occur in this directory.
2. The Branch:branch directory is a branch directory that holds the branch version of the current development version.
3. The Tag:tag directory is the baseline directory, which holds the published version or the important baseline directory. This directory is read-only.
If a bug needs to be modified, you need to create a branch directory of the baseline directory to modify.


Relocation (relocate):
Sometimes the address of the server changes, using relocate to relocate the server's address.


How does the SVN version number iterate?
4 Rules:
1. The version number is iterated from 1, and each commit increases the version number by 1.
2. Each version-controlled file has its own version history, with the first version number being the version number of the repository at the time of the join.
3. Version number of the Repository = The maximum value of all version-controlled file version numbers that are currently being versioned.
4. The version number of the repository is contiguous and the file version number is non-contiguous.

The difference between checkout and export?
The content of the checkout is versioned and the contents of the export are not version-controlled.

SVN is already locked

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.