Using CVSNT and WinCVS to achieve CVS installation [3]

xiaoxiao2021-03-06  42

From: http://www.yesky.com/softchannel/72342376173010944/20031226/1757329_2.SHTML five, WinCVS simple operation I don't know if you have a CVS server? Below we have to start using CVS, this article only introduces the simple operation of CVS, if you want to know in-depth understanding, please refer to other articles of the release network document center. Maybe you will ask if you are excited, what should you do? First, we have to create a folder on the client to store a copy (for the concept of work copy, please refer to the related introduction in other related documents of the Fly Document Center), the working copy is related to the main copy mentioned above There is only one copy of the master copy, placed in the CVS warehouse, and the working copy can have a lot of parts, which are placed in different clients. After creating a folder, we add its path to the input box above the WinCVS window. From now, all our work copies are stored in this folder, and our modifications made to the file are also targeted Files in the folder. Then let's start a new project, first start, we want to "checkout" procedure, this process is to copy the directory and files in the primary copy to the client directory you specified. Right-click on the box on the left in the WinCVS window, select "Checkout Module" in the pop-up menu and then the following dialog box appears: Enter one "in the first input box". "Indicates a full replication in the warehouse. Work copy. Enter the path you store your job copy in the second input box, then click "OK". (If there is a change in the directory in the future, the client also wants to "checkout" process to see) After completing this step, we can simulate the establishment of a new project and submit it to the CVS warehouse. . First, build a folder in your working directory. Look at WinCVS, you will see the icon in front of the folder you just created is red, this is prompting you to select it and click the plus button in the WinCVS button bar, which is created on the CVS server. the catalog. Similarly if you create a file is also added to add. Note that the directory and files are added separately, don't think that the directory is added, the files inside will be added. This will encounter such a dialog box during the addition: This is CVS to remind you to enter record information, which will be recorded in the corresponding log for easy viewing. Be sure to fill in, because if you forget what you have done this day after a few days, this is the best information. CREATE A New Project. After that, click OK. The addition of the directory is over, and the addition of the document needs another step, that is, the "commit" process of the file, which is also for files to be modified, submitted to the warehouse. As long as you need to submit files, right-click, select "Commit Selection" in the pop-up menu and then enter the record information, click OK. At this time, another client machine wants to see the file file, you can click Right click on the directory to get the latest version, then select "Update Selection", then discover the files into the latest version, others change It is a good look. The above introduces you to the WINDOWS environment, and it has introduced the basic functions of WinCVS in the Windows environment. I hope that each of them can use their own CVS. At this point, this article is over.

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

New Post(0)