WinCVS and CVSNT makeup

zhaozj2021-02-16  62

WinCVS and CVSNT makeup

Roger yang

Reference: 1. WinCVS and CVSNT Confidential Use (1) http://www.dingl.com/view.shtml?xh=211 WinCVS and CVSNT Concise User Hand (2) http://www.dingl. COM / view.shtml? XH = 212 According to this article, use CVSNT to successfully set up a CVS server on WinXP. And use WinCVS to complete some of the basic operations of CVS.

2. WinCVS Operating Manual.pdf Size: 2,991,880 bytes WinCVS Nice Home Brochure Download Address: Updated the Failure Connection http://www.beestsharing.com/files/ms001125101/wincvsoperatorManual.rar.html

3. CVS Quick Start. PDF Size: 1,724,983 bytes Although the introduction is very shallow, the mentioned knowledge points are introduced in detail. Download address: Updated the failed connection http://www.bestsharing.com/ FILES / MS001125092 / CVSQUICKINTRO.rar.html

1. CVS server installation CVSNT 2.0.41A

CVS client installation Python 2.3.4 WinCVS13B17

2. Several work directory CVS server needs to be established by CVS server and CVS client: 1. f: / khroot (the root directory of your own source code) 2. F: / khtemp

CVS client: 1. E: / cvsclient / admin (Administrator Work Directory, you can also have multiple work directories) 2. E: / cvstemp (WinCVS temporary directory)

3. Settings of the CVS server 1. Set two directory 2. Check box "Use local users for pserver ..."

4. Setting CVS Client 1. Set CVSROOT: PServer: Administrator @ Server: f: / khroot

The CVSROOT string consists of the following: Authentication: Verification mode, the default is the path to the warehouse on the CVS server. A CVS server can have multiple warehouses. Different warehouses are identified with the path of the warehouse. Host Address: CVS Server IP address or domain name User name user name, you can follow your password after colon

2. Set the WinCVS Temporary Catalog "Home" E: / CVSTEMP

3. Set the administrator's work directory E: / cvsclient / admin

There are multiple working directories to store different modules, using the "Change Location" button on the toolbar to set. Checkout's module as the next subdirectory of the working directory.

4. Set the WinCVS plug-in editor

5. Permissions for the directory of CVS: 1. Direct Limit List of System Support: R Read Permissions W Write Permissions c Create and Delete Permissions N No Permissions

2. By default, any user has any permissions for any directory. So after the administrator has established a new working directory for a user, you must manually set the permissions of this directory.

6. Administrator's tasks and corresponding operations: 1. Modify the permissions of the default module (CVSROOT Management Module), just let the Administrator have three full permissions. 1. Checkout Default module (CVSRoot Management Module) 2. Pair [CVSROOT] module Perform the following cvs command: cvs chacl default: N Cancel all users' default permissions CVS Chakl Administrator: RCW Sets Administrator owns all permissions CVS Chown Administrator Change [CVSROOT] owner CVS LSACL View [cvsroot] permission status

2. Establish a work directory for ordinary users 1. Modify the modules file under the [CVSROOT] module, one user module

2. Writing method of modules file [Description of Module 1] [Parameter] [Description of Directory Path 1] [Module 2] [Parameter] [Relative Directory Path 2] ... [Module N Description] [Parameter] [ Relative directory path n]

Such as: CVSROOT CVSROOT JACKEY Work Directory --a Jackey_docenter_docenter

WinCVS automatically lists the modules listed in this file when checkout. If you do not list Module in this file, you can only manually enter the name of Module in WinCVS.

3. Commit modules file

4. Upload the working directory to establish each user's working directory under E: / CVSClient / Admin, and then delete these working directory IMPORTs

5. Set access to each directory separately, only you can access your own work directory 1. Checkout's work directory to the [Admin] directory.

2. After selecting a user's working directory, perform the following cvs command: cvs chacl default: n Cancel all users' default permission CVS Chakl Username: RCW Settings Specify the user owns all permissions CVS LSACL View the permission status of the specified user working directory

3. Add and delete users: Directly perform the following cvs command: cvs passwd -a killer Add new user [Killer] CVS Passwd -r Jackey Killer Bind [Killer] to NT User [Jackey] CVS Passwd -x Killer Delete users [Killer ]

7. User Management Principles in CVSNT systems: 1. Users of CVSNT and CVSNTs are associated with NT users on the machine.

2. Only users of Administrator identity have the right to create and delete users in CVSNT.

3. Create a new CVS user, you must bind NT users on the machine where CVSNT is located

4. One NT user can bind multiple CVS users

8. Average CVS users in WinCVS: 1. Log in to CVS Server Menu Admin-> Login ...

2. Log out the CVS server menu admin-> logout

3. Import Module Operation 1. Import specified directory becomes a CVS module: Module that requires import is actually a directory containing all files, such as directory_docenter sets the working directory to the parent directory of Module, such as the directory yang2003 then Right-click on the [Workspace] column on the left [Workspace] column (directory name _docenter), select the Import Module in the shortcut menu ... The remaining work is completed according to the wizard. 2. Checkout Just Import's Module, set permissions : Afterport, you can delete the local directory _docenter and right click on the [Workspace] field on the left "YANG2003, check the checkout module in the shortcut menu ... Enter the Module name _doCenter, press" OK "button, You can use the Module _DoCenter Checkout to the Work Content to YANG2003. Select the _docenter in the [Workspace] column on the left, press the shortcut [Ctrl L], order the following CVS command to set the permission: CVS Chakl Default : n CVS Chakl yang: RCW CVS Chown YANG CVS LSACL

3. CHECKOUT A Method for specifying a directory in the [Workspace] field on the left side of the [Workspace] field right-click the work directory yang2003, check the checkout module in the shortcut menu ... Enter the Module name J2ME_PRJ / CIAYHB, select the check box Check Out Into Directory And in the input box on the right (if check box Don't Shorten Module Path below), then the Ciyhb directory created when Checkout will have J2ME_PRJ / CIAYHB path) Finally press "OK" button. You can work in the CIAYHB directory in the CHECKOUT MODULE J2ME_PRJ under the working directory yang2003, not the entire Module J2ME_PRJ.

4. WinCVS's Update Settings dialog 1. The meaning of the check box 1. Checkout File to Standard Output Checks the file to standard output

2. Do Not Recurse Into Sub-Folders does not have a returning sub-directory, only files under the current directory

3. RESET Any Sticky Date / Tag / '- k' Options Resets all pastement date / marking / -k option Deletes branch / tags, get the latest version, used to change the main trunk from branch

4. Create Missing Director That EXIST in The Repository Creates a catalog in the warehouse

5. Get The Clean Copy gets a clean copy. When you modify an error, you can retrieve the files on the server to overwrite the local file (for the case of modifying the error of the local file).

5. Add a directory or file menu in a MODule [add selection] in [MODIFY] to add directory and text files [add binary] to add binary files

After adding a file, you have to do a CommMIT operation, and the entire addition is done.

Add directory does not require Commit operations

6. Retrieve a version of a program from the CVS server Select the Retrieve Rev./tag/brain check box in the Update Settings dialog box and enter a certain previous in the combo box later. The version number .7. Get two ways to get the list of modules on the CVS server: these two methods do not rely on the modules files under the CVSRoot directory on the CVS server, and Modules that are not registered in the modules file can also be listed.

1. Menu [admin] -> [Admin Macros] -> [Browse Repository Folders ...] Enter cvsroot in dialog Browse Repository Folders:: PServer: Test @ Server: E: / CVSROOT

(You do not need to lose your password, do not need to use the Administrator user) After selecting a Module directory, press the "Checkout ..." button to export the specified module.

2. Menu [admin] -> [admin macros] -> [list module contents] Enter cvsroot in dialog:: PServer: Test: Test @ Server: E: / CVSROOT

(You must enter your password, do not need to use administrator users)

8. Fixed version commit files to a specified version In the COMMIT OPTIONS tab of the dialog Commit Settings, select the "Force Revision / Branch" check box and enter a version number in the back combo box.

Corresponding CVS command: CVS commit -m test fixed version to 1.5 -R 1.5 new file.doc (in Directory f: / yang2003 / _docenter / tool software /)

9. Track Who is editing a file If a module is Checkout in read-only, then before editing a file, you must tell the CVS server to edit the file. The benefits of doing this are, other developers can track who Edit the corresponding file.

Start Editing the filepoint menu you want to edit [TRACE] -> [edit selection] specified by the file to be read-only by WinCVS, and set to the editing state.

Editing Commit Command file file is set to read-only status by WinCVS

Abandon the editing of the specified filepoint menu [trace] -> [unlock selection]

Check out the specified filepoint menu for editing of the specified file [TRACE] -> [editors]

10. Tags for one or more files or directory tag labels (tag) can be used as a revised reference to a special case: the entire module tag tag is to reconstruct the current state of the module in the future. Timing tag Timing: In Engineering Before issuing or started major modification

Specific operation: 1. Select a directory or file that requires tag tags. 2. Point menu [modify] -> [create a tag on selection ...] 3. Enter a naming rule for label tags in the New Tag Name input box: It must be started with a letter, followed by multiple letters, numbers, and underscore. Can't follow some or spaces. Two retention labels, "head" refers to the latest version in the library, "base" refers to Checkout to Local revision.

11. Look at the Tag and Revision Status Select the file shortcut menu [Status Selection] 12. Delete files or directory delete files 1. Select a file 2. Point menu [Modify] -> [remove] 3. Commit This file, This file is physically deleted locally and is marked as "deleted" on the CVS server (not physical deletion).

Checkout Module Early revision, still recover deleted files

Deleting an empty directory 1. In the [Workspace] box on the left, select the parent directory of the empty directory you want to delete. 2. Select "Update Selection" in the Right-click Shortcut Menu 3. "Update Settings" "Globals" in the dialog Select the check box "Prune Empty Directories" in the tab. Press the OK key

13. Branch (branch) 1. Create a branch 1. Select a directory or file 2. Menu [Modify] -> [CREATE A BRANCH ...] 3. Enter a branch name in the "New Branch" combo box (branch name). Naming rules and label names) 4. Select check box "Check what the file" / 5. Press "OK" button

2. Switch to the branch (can be any one in multiple branches) 1. Select a directory or file 2. Menu [modify] -> [Update Selection ...] 3. Select check box "CREATE MIASING DIRECTORES THAT INST I The repository "4. Switch to the tab" Update Options "5. Select the check box" Retrieve Rev./tag/branch "and enter the branch name 6 on the chandframe side of the check box 6. Point" OK "key

3. Switch to the backbone 1. Select a directory or file 2. Menu [modify] -> [Update Selection ...] 3. Select check box "Create Missing Director That Exist in the repository" 4. Select check box "RESET Any Sticky Date / Tag / '- K' Options "5. Click" OK "button

4. Merge, combine the changes to branch files to the backbone, or vice. Selection box "Create Missing Directories That Exist in The Repository" 5. Switch to tab "Merge Options" 6. Select the check box "Only this Rev./tag" and enter "branch name" in the following check box. Point "OK" button.

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

New Post(0)