Simple use of wincvs and cvsnt (4)

Source: Internet
Author: User

6Common special operations in wincvs: 6.1 Delete downloaded files or directories:

1. Select one or more downloaded files and run the remove command.

2. select these files again and run the commit command to delete the files.

3. in essence, CVS does not delete any files or directories. Even if the above operations are performed, some files are deleted, the actual execution of remote CVS is to put the files submitted for deletion to a directory named [attic]. Therefore, these deleted files can be recovered through some methods.

6.2 how to restore deleted files or directories:

1. Restore the file after running the remove command.

L [Ctrl + L] directly enter the command CVS add XXXXX, or execute the [add selection] interface operation.

L in this way, you can directly restore uncommitted deleted files.

2. Restore the file after the [Commit] command is executed.

L you can only use Ctrl + L to directly enter the command CVS add XXXXX, and an empty file will be obtained.

L select the empty file and perform the update operation to obtain the object of the file.

L select the file again and perform the commit operation to get the latest version of the file.

3. because the CVS system does not delete any directories in nature, we cannot recover the directories. However, by default, the CVS system deletes empty directories on the user's local machine (for example, ycw2000, therefore, you can use the following method to obtain the deleted empty directory: CVs checkout-p xxx, or you can set it on the [globals] Page of admin => preference.

4. it can be seen that the CVS system can ensure that all files uploaded to the server can be logged in as Administrator no matter how you perform remote operations or normal or abnormal operations, use the above method to find the lost file. Unless the user enters the remote server and manually deletes the file, there is no way :)

6.3 How To Get files of previous versions:

1. Sometimes we need to get files of previous versions, while wincvs only delivers the latest version by default.

2. Select a file, right-click Ctrl + G, and click graph selection ...], Use the default settings to obtain the Graphic Structure Description of the file version.

3. Right-click a version and click retrieve revision to obtain the corresponding old version file. Of course, you can also get the latest file version :)

6.4 sometimes wincvs becomes abnormal and slow. How can this problem be solved?

1. Check that the cvsnt server is not installed on the machine on which wincvs is installed, because the versions used may be different.

2. Only wincvs is installed, but other versions of wincvs have been installed before. What should I do?

3. Uninstall all wincvs systems and delete the residual files in the installation directory.

4. Open the Registry Editor, search for the CVS keyword all the way, find a key to delete, until it cannot be found !! :)

5. reinstall wincvs. This problem can basically be solved. I am doing this and I don't know how you do it? :)

7 other instructions:

1. this article focuses on how to allow users to build the cvsnt + wincvs system, so it focuses on the common operations of administrators. The operations generally used by users are relatively simple and simple, wincvs is frequently used and will soon become familiar with it.

2. this document is just a glimpse of CVS. There are many advanced usage of CVs, as well as hundreds of commands, and many new methods for managing source code, such as tag, branch and other models. Therefore, we warmly welcome everyone to actively explore, share, and make continuous progress ........

3. in addition, cvs.html provides a wealth of information, but it is not clearly written in many places and requires constant speculation and practice to know what is going on. Many of the experiences in this Article refer to this help, in this case, we can use this stupid method to get ......

4. Finally, I hope that the person who sees this article will receive help, improve, and other advantages over or equal to a waste of time, but will go backwards !!

(Full text)

Related Article

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.