How to configure a repository(CVS) in Windows  Ram Thu May 25, 2006 10:37 am
0 Comment     Post Comment
Configuring CVS in windows


Server Configuration:

1. Download and install the CVSNT available in http://www.cvsnt.org . Set the installed directory in the path

2. Open the CVSNT Control Panel available under the Start Menu --> Programs --> CVSNT .

3. Click the New button in the Repositories tab in the CVSNT Control Panel.

4. Specify the directory which has to be configured to work as the cvs root directory. (eg. c:\testcvs and name as "\testcvs".)

5. In the "Service Status" Stop and Start the CVS Service and CVS Lock Service

Client Configuration:

1. If CVSNT is already installed in the system then it itself will act as CVS Client also. Others may download the CVS Client from http://cvshome.org and set in the PATH

2. set HOME=c:\\ (in command prompt)

3. Assume the system has user "administrator" and password as "admin", connect CVS as follows:

set CVSROOT=:pserver:administrator@<machinename>:/testcvs

4. cvs login (Enter the password as "admin")

5. Do the CVS operations like checkout,checkin etc.,

Working with CVS Repository:

All directories under the configured cvs root directory (eg. c:\testcvs) will be considered to be in the repository. You may checkout the directories under it as follows:

1.Consider i have a new directory "dir1" under "c:\testcvs" .

2. Checkout the directory as: cvs co dir1.

3. cd dir1. Now add new files or directories here.
To add a new file to the repository:
* cvs add <filename>. Then checkin the file using
* cvs ci <filename>.
To add a new directory:
* cvs add <directory>
Note that to add a directory, it is enough if you do as cvs add but in case of adding a file you need to add the file and also checkin the file.

4. Now you may modify the files and checkin the modified files as cvs ci <filename>.
   
 
 
Quick Reply

Enter the code exactly as you see it. The code is case sensitive and zero has a diagonal line through it.
Post your Comment:

Confirmation Code:  

Your name: 
Message :

Quote the last message
Attach signature (signatures can be changed in profile)

 


Subscribe with Bloglines

Add to My Yahoo!
Search this blog
Visits for this topic: 5006
 
Previous Posts
Issue in using cvs rtag command
How to restrict removal of files from CVS?
How to configure a repository(CVS) in Windows
Announcing the release of CodeMiner CVS Manager BUILD 2006
CVS Server Option 1.11.2 and above
New Option to remove tag in latest CVS version?
Can we restrict files with Cntrl M Characters?
Welcome to CVS Manager Blog
 
Links   Add
 
Categories   Add
All
 
 
 
© 2005 AdventNet Inc. All rights reserved.