Uploading the project on sarovar using CVS

CVS treats collections of files as single units, making it easy to work on large projects and permitting multiple
users to work on the same file. CVS also provides valuable self-documenting features for its utilities.
So recently I needed to upload my project on Sarovar using CVS. The steps I followed to upload the project are :

First of all we need to copy the keys of our system to our sarovar account. For this, generate the keys, by running the command:

ssh-keygen -t rsa -C "abc@gmail.com"

Place you email-id in the place of abc@gmail.com

After generating th keys, run the command :

cd ~/.ssh/
ls

ls will list your files in .ssh folder. Open id_rsa.pub file in any of your editor

vim id_rsa.pub

This file contains your keys. Now copy these keys and place it in your account on sarovar.org ( Go to account maintenance and then click on edit keys. Place your keys there and then save changes ).

Now go to the folder where you project folder is placed. Let you folder name be project.

cd project

Then run the following commands on the terminal :

export CVS_RSH=ssh
export CVSROOT=:ext:UN@cvs.PN.sarovar.org:/cvsroot/PN
cvs co .

Here UN is you username and PN is Project name.

Now run the commands :

cvs import -m "updated version" tcc/dir tcc start
cvs checkout tcc
cvs rtag Release_2 PN

Here tcc is your project folder name.

Running these commands will successfully upload your whole project on sarovar.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s