WinCVS and CVSNT Concise Users (4)

zhaozj2021-02-08  278

6 Common operations in WinCVS:

6.1 How to delete the downloaded file or directory:

1. Select the downloaded one or more files, execute the [remove] command.

2. Select these files again, execute the [commit] command, complete the operation of the deleted file.

3. Equity CVS does not delete any files and directories, even if the above operation is performed, some files are deleted, and the remote CVS actually executes the file submitted to the deleted file in a directory called [attic]. Therefore, these deleted files can be recovered by a certain method.

6.2 How to recover the file or directory that has been deleted:

1. Restore the file after the [Remove] command is executed.

l [CTRL L] directly enter the command cvs add xxxxx, or execute the [Add Selection] interface operation.

l This can directly restore the deleted files that have not been submitted.

2. Recover the file after the [commit] command is executed.

l You can only enter the command cvs add xxxxx directly with [Ctrl L], and you will get an empty file.

l Select this empty file, execute the [UPDATE] operation, get the entity of this file.

l Select this file again, execute the [commit] operation, get the latest version of this file.

3. Because any directory is not deleted in the CVS system, it will not be able to recover the recovery of the directory, but the CVS system is to delete the empty directory on the user's local (such as: YCW2000) by default. Use the following method to get an empty directory that has been deleted: CVS Checkout -P XXX, or you can set it in the Admin => Preference [Global] page.

4. It can be seen that the CVS system guarantees that as long as you upload to the server file, you can use the Administrator to log in with administrator, and find the missing files through the above method. Unless the user enters the remote server, manually delete the file, then there is no way :)

6.3 How to get the previous version of the file:

1. Sometimes we need to get the previous version of the file, and WinCVS only passes the latest version by default.

2. Select a file, [CTRL G] or right key, click [Graph Selection ...], use the default setting, you can get the version of the version of the graphics structure described.

3. Select a version, right, click [RETRIEVE Revision] to get the corresponding old version of the file. Of course, you can also get the latest version of the file :)

6.4 Sometimes WinCVS will become abnormal, what should I do?

1. Confirm that the CVSNT server is not installed on the machine installed in WinCVS because the version they use may be inconsistent.

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

3. First uninstall all WinCVS systems, delete residual files in the installation directory.

4. Open the Registry Editor, find the CVS keyword, find one delete one, until you can't find it! ! :) 5. Reinstall WinCVS, this problem can basically solve it, I am solved like this, I don't know how you there? :)

7 Other instructions:

1. The focus of this article describes how to build a CVSNT WinCVS system, so you can focus on the common operation of the administrator, as for the operations used by the general user, relatively simple and single, using WinCVS more times, very I will be familiar with it.

2. This document is just a little fur of CVS. There are also many advanced usage in CVS, and hundreds of orders, there are many fresh management source code, such as tag, branch and other modes; therefore, Warmly welcome everyone to actively explore, constantly sharing, and constantly progress. . . . . . . .

3. In addition, cvs.html helps, the information in it is also rich, but many places are written enough, need to constantly guess and practice can know what is going on, this article is to see this help, so this This is based on this stupid approach. . . . . .

4. Finally, I wish to see the people who have been helped, improve the benefits, etc., which is greater than or equal to waste, but if they are returned to the disadvantages! !

(Full text)

转载请注明原文地址:https://www.9cbs.com/read-2189.html

New Post(0)