Basic introduction
CVS is a C/S system. Multiple developers record file versions through a central version control system to ensure file synchronization. CVSNT is the version of CVS under Windows. Generally, CVSNT is used as the CVS server, and TortoiseCVS is used as the CVS client.
How to use
①Click Run when prompted with this screen;
② Agree to the user agreement;
③Click to install according to the picture below;
Configuration method
① After the installation is completed, in order to verify whether the installation is successful, you can open the C command window and enter: cvs -v, as follows: C:UsersAdministrator>cvs -v
②Create a new Repository: name is /cvsRoot. By default, the administrator of windows is the administrator of Repository, and you can log in to cvs with a windows account. Then, I want to add more users to the repository. There is a simple method, which is to add a windows user, because the windows user is also a cvs account. However, I want to use cvsNT's own user management method, so:
cmd, enter Dos.
set cvsroot=:pserver:administrator@127.0.0.1:/cvsRoot
cvs login
hint:
Logging in to :pserver: administrator @127.0.0.1:2401:/cvsRoot
CVS Password:_
After entering the password, the login is successful.
Then, add user test1
cvs passwd -r administrator -a test1
hint:
Adding user test1@127.0.0.1
New Password:_
Create a new password for user test1, and then generate a passwd file in the CVSROOT folder, which contains the login information of the repository user, including the newly registered user name test1 and the encrypted password.
The user was added successfully. Then try to log in with test1. then,
set cvsroot=:pserver:test1@127.0.0.1:/cvsRoot
cvs login
③Now all that is left is to configure it in eclipse. This is relatively simple, as long as the CVS server is installed and there is no problem.
it works
it works
it works