Uncategorized

Leanring CVS ….

This is a technical post regarding concurrent versioning system.
CVS is the repository where i maintain my development files in versions. so that i might retrieve the version that worked better.


Definitions:

CVS is a version control system, and important component of Source Configuration Management (SCM). Using it, you can record the history of sources files, and documents.
Below is the Short How-To for using CVS


General Commands need to be executed only once
export CVSROOT=:pserver:[your username here]@[cvs host]: [repository Path]
cvs login

Importing a New Project
mkdir [your project directory with module name]
cd [your project directory with module name]
cvs -d respository path import [module name] [vendor tag] [release tag]

Checking out a Project Before modifying the Code
cvs co [module name]
Note: you’ll be downloading the entire project files in to folder named after the module name

Checking in the modified files
cvs commit (Assuming you are in your project directory )

Adding a single File
cvs add [File Name]

updating the Project File from the CVS Server
cvs update (Assuming you are in your project directory )

The above mentioned commands are for basic Use. For knowing more about CVS check out CVS – GNU Project

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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