CVS command creation process

Source: Internet
Author: User

1. According to most documents on the Internet, D:/cvsserver is created.

Cvsnt is used.
========================================================== ========================================================== ================
2. Create a user
D:/cvsserver> CVS passwd-H
Passwd: Invalid option -- H
Usage: CVs passwd [-A] [-x] [-x] [-r real_user] [-R] [-D domain] [username]
-A Add User
-X Disable User
-X delete user
-R alias username to real system user
-R remove alias to real system user
-D use domain Password

D: cvsserver> CVS passwd-A Qik
Adding User Qik
New password:
Verify password:
CVS passwd: * warning * CVS user 'qik 'will not be able to log in until they are
Liased to a valid system user.

D: cvsserver> CVS passwd-r user Qik
Changing password for Qik
New password:
Verify password:
========================================================== ========================================================== ================
3. Start a project with CVS and add files

D:> Cd hmsi

D: hmsi> dir
The volume in drive D is Dev
The serial number of the volume is 10ac-cc2f.

D: hmsi directory

<Dir>.
<Dir> ..
1,404. Project
6,090. classpath
286 build. Properties
3,046 build. xml
293. mymetadata
407,805. fbwarnings
<Dir>. externaltoolbuilders
<Dir>. Settings
6 files in 418,924 bytes
4 directories, 2,238,488,576 available bytes

D: hmsi> CVS import-M "imported sources" hmsi start
N hmsi/. Project
N hmsi/. classpath
N hmsi/build. Properties
N hmsi/build. xml
N hmsi/. mymetadata
N hmsi/. fbwarnings
CVS import: importing D: cvsserver/hmsi/. externaltoolbuilders
N hmsi/. externaltoolbuilders/XDoclet builder. Launch
CVS import: importing D: cvsserver/hmsi/. Settings
N hmsi/. Settings/org. Eclipse. Core. Resources. prefs
N hmsi/. Settings/COM. genuitec. JBoss. Ide. Eclipse. XDoclet. Run. prefs

No conflicts created by this import

D: hmsi> CVS import-H
Import: Invalid option -- H
Usage: CVs import [-C] [-D] [-F] [-k subst] [-I ign] [-m msg] [-B branch]
[-W spec] [-N] repository [Vendor-tag] [release-tags...]
-C create CVS directories while importing.
-D use the file's modification time as the time of import.
-F overwrite existing release tags.
-K sub set default RCS keyword substitution mode.
-I ign more files to ignore (! To reset, @ to skip. cvsignore ).
-B bra vendor branch ID.
-M msg Log message.
-W spec wrappers specification line (! To reset ).
-N don't create vendor branch or release tags.
(Specify the -- help global option for a list of other help options)
========================================================== ========================================================== ================
4. Check whether the version is successful. Delete the original version and check out again.
D:> CVS checkout hmsi
CVS checkout: updating hmsi
U hmsi/. classpath
U hmsi/. fbwarnings
U hmsi/. mymetadata
U hmsi/. Project
U hmsi/build. Properties
U hmsi/build. xml
CVS checkout: updating hmsi/. externaltoolbuilders
U hmsi/. externaltoolbuilders/XDoclet builder. Launch
CVS checkout: updating hmsi/. Settings
U hmsi/. Settings/COM. genuitec. JBoss. Ide. Eclipse. XDoclet. Run. prefs
U hmsi/. Settings/org. Eclipse. Core. Resources. prefs
========================================================== ========================================================== ================
5. Define the module
A simple way to define a module
C:> CVS checkout cvsroot/modules
C:> Cd cvsroot
Edit the file modules and add it in the last line.
Hmsi
Submit module changes
C:> CVS commit-M "added the TC module." modules
Delete local module
C:> Cd ..
C:> CVS release-D cvsroot
========================================================== ========================================================== ================
6. Use eclipse for management
Enter/cvsserver in the warehouse item, and then connect

 

7. Use wincvs for management

Log on to the pserver and check out the program in remote> check out modules.

8. add one point

The user name should exist in the operating system. If the user name does not exist in the operating system, the user of CVS cannot connect.

Before using the CVS command, cvsroot should set the environment variable to point to the warehouse location.

9. log on to the CLI.

C:/Documents and Settings/Qik. SiC> set cvsroot =: pserver: wonder@192.168.71.58:/cvs_r
OOT

C:/Documents ents and settings/Qik. SiC> CVS Login
Logging in to: pserver: wonder@192.168.71.58: 2401:/cvs_root
CVS password:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.