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 "email@example.com"
Place you email-id in the place of firstname.lastname@example.org
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
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.
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.