/ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------ Module: Windows CVS Application Notes .txt Author: Amine@263.net; http://amine.nease.net; QQ: 188710731 Project: State: Creation Date: 2003-10-16 Description: --------------------------------- --------------------------------------- * // * ------- -------------------------------------------------- --------------- Purpose: Environmental Description ------------------------------- ----------------------------------------- * / Win2000 SP4CVSNT-2.0.10wincvs13b13- 2Python-2.3
/ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------ PURPOSE: CVSNT installation and configuration -------------------- -------------------------------------------------- - * / Install CVSNT in the server-side administrator account; after installation, two services are automatically started: cvsservice and cvslock;
Start the service control panel to configure CVSNT; can be used to stop and start the CVSNT two services; modify the CVSNT configuration, you should stop the service. After modify, restart; set the resource directory, used to store archive files. Generally set a directory prefix (eg E: /), add each subdirectory (such as / cvsrepo). The resource directory is created when the cvsroot subdirectory is created. In the Advanced page, select the Uses for PServer ...; Temporary column Set the temporary directory (such as E: E: E: E: E: E: E: E: / cvstemp).
/ * ---------------------------- User Add ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ---------------- * / Need to configure users first in Win2000, and go to the guest group;
In the command line window, first, set cvsroot =: ntserver:
Set password for each user, the password can be different from the password of the Windows user.
Administrator can use the password in Windows without special addition.
CVS Passwd -a
/ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------ Purpose: WinCVS installation and configuration -------------------- -------------------------------------------------- - * / Start WinCVS needs to install Python.
Do not use CVS on your work Dish as a directory name, WinCVS uses the CVS directory to create and server contacts. Mainly need to configure / WinCVS preferrence / general /, as follows: Auth: PServer path: / cvsrepo Host: 192.168.0.112 User: Amine Cvsroot : amine@192.168.0.112: / cvsrepo (will be automatically populated according to the previous settings) In / WinCVS Preferrence / General / CVS / Take the Home Directory (such as E: / CVSWINTEMP)
After setting up, log in to the server, enter your password, login successfully displayed: ***** CVS EXITED NORMALLY with code 0 ***** With menu / view / browser loc / change, switch to your work discs should usage Ordinary users work; use Administrator to log in to Administrator and ordinary users when implementing management functions, preferably use different working dishes and work catalogs
Use the external DIFF tool to use CS-DIFF, Beyond Compare, ExamDiff, etc. When / WinCVS Preferrence / General / WinCVS / Setup Diff Selection, pay attention to choose to use Extern Diff External Editor best with UltraEdit in / WinCVS preferrence / general / wincvs / settings
/ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------ Purpose: WinCVS daily use --------------------- -------------------------------------------------- - * / import module: Select the source code directory for archive Checkout Module: Use the WinCVS to get a working directory from the server, create contact with the server, select the Module storage directory, Module belt server on the path (?) Add Selection adds the new file Remove Selection that needs to be archived Remove Selection to delete the client's file. If Commit, you will delete the file on the server, but it is not physically deleted, you can restore (?) Commit Selection to submit your own modification to the server is a good habit, Before you are ready to submit to the server, first query update, because some other developers may also modify this file while you modify this file, which may have conflicts, we are always submit Treated conflicts first. Update Selection From the server to the server, not to lose your own modification If you have modified your local version, the operation is unsuccessful, showing the M
Query Update This is a query command. There is no practical operation to see if the local version and the server version are unified. You can use it frequently to get the latest progress of the project to coordinate the M
Exployer Selection activates Windows resource manager to perform normal file operations
Diff Selection View the difference between local and server versions
Graph Selection File Version Evolutionary graphic display, can be used to get the specified version, the Administrator can use to delete unwanted version, such as the latest incorrect submission Annotate Selection: View the version number, modifier, modification time Macro / TCL / FAST SEARCH MODIFED Specifies the directory you want to view to see the local file to modify Macro / TCL / Build ChangeLog Specify the directory you want to view, this directory will generate a ChangeLog file, show what modifications for the daily server version
Create Tag On Selection is developed to a stage, tag actions for multiple files. Tags are always done when the project is issued or made. When the software is developed to a certain stage, the test is completed, there is a relatively stable and reliable version. If there is a new demand at this time, it is necessary to further develop. If it is directly uploaded directly, it cannot quickly get a stable version. This needs to be implemented with the label, as long as the stable version is attached to a unified label, then directly select all files with the tag, you can quickly get the desired version of the Create A Branch: will modify Isolation to a separate development line, for example, we designed a book management system, hand it over to the customer A University; then we continue to develop, there is a new version 1.1, 1.2, 1.3 ... this When A University told us that the 1.0 version has bugs, we quickly found the error in the source code of version 1.0. At this time, the easiest solution is to give A University a bug Patch. You will ask, why not give the client's latest version? The reason is very simple: First, we have not checked the latest stable version and there is no bug; second, the customer's system has run for a while, and more new problems may also occur on the upgrade to the latest version. So, we should build a branch on version 1.0, develop, modify bugs, create bugpatch, and customers can solve the problem. Then we turn down the door to see the latest version without this bug; if you have, you will merge the branch to the main version, solve the latest version of the problem.
It is recommended that some of you can't determine its meaning, please use the test item TEST to test. Members should not be able to delete existing files to submit code, pay attention to some files do not need to be submitted to the CVS server when you submit the code conflict with the code in the server (WinCVS will automatically tell you), should be carefully handled
/ * ----------------------------------------------- --------------- * / Lock file: In general, in the project team, the project manager will issue the latest foundation to the latest version, and the team members are required to further discuss this foundation. Development. In actual work, some members will work in advance. After they submit changes, the latest version will be higher than the foundation version of the project manager. Sometimes, some project members will intend to unintentionally modify the basic version, and specify the submit to the base version, if they allow them to submit changes, everyone may work in an error, and the consequences are unbearable. The operation of the lock file is as follows: the admin-> bomandline of the menu bar, enter this command: CVS admin -l version number file is not a space between the -L and version number. / * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------ PURPOSE: Others ----------------------- ------------------------------------------------------------------- * / Version number wxyz means: W: Home version number, x: small version number Y: branch number, z: branch modification number
/ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------ purpose: Question ----------------------- ------------------------------------------------------------------- * /? Check OUT Successfully Whether to select the WinCVS directory to select, historical catalog? How to download Module to the required directory, with the Module path? How to set up the CVS resource directory, and the engineering coordination? TAG use? BRANCH use? Conflict processing • Functional exploration / * -------------------------------------------- --------------------------- PURPOSE: Network resources ------------------- -------------------------------------------------- --- * / CVSNT website: Download CSVNT, the latest stable version 2.0.10 http://www.cvsnt.org/wiki/ WinCVS Download the latest version 13b13-2 http://sourceforge.net/projects/cvsgui/ python : The latest version 2.3 http://www.python.org/
WinCVS and CVSNT Confidential Use (1, 2, 3, 4) http://www.9cbs.net/develop/Article/19/19756.shtm
Install CVS and configure it as a SCM repository: CVSNT installation diagram http://www-900.ibm.com/developerWorks/cn/wsdd/library/techarticles/0202_yu/yu2.shtmlteam Program Wiht CVS in WSAD HTTP: // Www.javaresearch.org/Article/showArticle.jsp?column=151&thread=4471 WinCVS Confidential Operation Manual (1, 2, 3) WinCVS Operation Graphics Http://www.51cmm.com/case/no015.htm CVS configuration and Use http://www.xfocus.net/articles/200103/125.html Reference "WinCVS Daily Use Guide", or English Version "WinCVS Daily Use Guide" Reference "Reference" Reference "Reference" WinCVS client usage skills using WinCVS "