Li Xin
Description This operation focuses on the client's user, because Linux highs comes with a CVS server, not detailed. If you need to install the server, you can go to http://www.cvshome.org/ to download and install. The Windows NT version of the Server end can go to http://www.cvsnt.org/ to download and install. Installation Step 1. Install WinCvs136.zip (http://sourceforge.net/project/showfiles.php?group_id=10072) 2. Install python-2.1.1.exe (http://python.org/ftp/python/ 2.1.1 / python-2.1.1.exe) 3. Install ActivetCl8.3.4.1-9.WIN32-IX86.EXE (http://www.scriptics.com) English Handbook http://www.joyInternet. NET / CN / CVS / DOCS / MANUAL / Confidential Directory 1. Configuration 2. Login 3. Checkout item - detects 4 from the server. Modify the submission file to the server 5. Update file - Update the server file to the local 6. Add a file 7. Delete files 8. Retrieve the deleted file 9. Merged Document (Merge) 10. Import Module (Folder) - Add a local folder to the server 11. Create a label, branch 12. Create a label, branch 13. To view the status of the file 1. After configuring the CVS, you need to configure the server. Open the CVS from the start menu, the configuration steps are as follows: 1. Click Menu Admin-> Preferences, set in the pop-up window: Fill in the user name 2 on Linux in the USER NAME box. On the Globals tab Note "Checkout Read-Only" and "Prune Empty Directories" two options, indicating "check-out file read only" and "automatically delete the empty directory". 3. Set the editor and the directory of the password (after the first login input password saves, the next login does not need to be entered again). After the login is configured, you should log in to enable the server to remember your login name and password. Click on the menu admin-> preferences and enter the password. The login name and password will be stored in the .cvspass file of the HOME Folder folder you set up. The next time you enter the password. Third, check out the item - detect from the server If at the server, the project has been established, only checkout can be used locally. As shown in the figure: Select the directory 2 of the placed module (item). Click on Menu CREATE-> Checkout Module, enter the module name. Note that you don't need to build a module name here, directly Checkout
4. After modifying the submission file, after the CHECKOUT project, the copy of the file will be created locally. After the client modifies (commit) to the server, you can save the latest file to the server as shown below, the modified file display Red. At this time, the modification only modifies the local file. If you want to submit it to the server side, click Select the modified file, and then select the "Commit Selection" command from the Right-click menu to the service break, the file version will automatically add 1. V. Update file - Update the server file to the local file in the local file, it is best to update the file from the server, because many people operate the same file, without timely update, it is easy to cause conflicts. If the version of the ALA is the same as 1.2, the version of the revised submission is 1.3, and B is not updated at this time, and the submission is modified on the basis of local 1.2. At this time, there will be a conflict as follows, and the conflict file will be displayed. Update the file, click Select the file (can be selected), select the "Update Selection" command from the Right-click menu to the local. 6. After adding a file, you will be submitted to the server after adding a file locally. First select the file, then click "Add button", after adding the file, then select the submit command "Commit Selection" in the right-click menu. Note that there are two buttons, an adding a general file; a binary file, such as a picture file. Seven, delete files 1. After selecting the file, click the Delete button to delete the file locally. 2. After deleting, select the "Commite Selection" command from the right-click menu to delete the server's file. 8. Retrieve the deleted file If you just click the Delete button to delete the file, click the Add button to retrieve the file. If you have been submitted to the server, delete the file from the server, you should establish a file with the same name locally (can be empty file), add the file to the server, at this time, you can find the lost file, just Upgrade a version of the local created file on the basis of the deleted version. The historical version of the file still exists. If you want to overwrite the current version, the easiest way is to merge (MERGE). Nine, the third Tab is the merge option when the Merge is incorporated in the UPDATE file (Merge). That is, the merged file is performed by Update. As described below, there are several merged methods. As shown above, the V_DS version is overridden in another v_xj. As shown above, the V_DS version is merged with the current version, and the version specified in ONLY THIS Reg./tag is merged with the current version, usually there is a conflict.