|
|
|
|
|
|
|
|
|
|
|
|
Introduction
|
|
|
This section of the tutorial deals with CVS, this is written in brief and should help any new beginner to get started with CVS. |
|
|
|
|
|
|
|
|
|
|
|
What is CVS?
|
|
|
CVS is a version tracking system. It maintains records of files throughout their development, allows retrieval of any stored version of a file, and supports production of multiple versions. CVS enables multiple developers to work simultaneously on a single file without loss of data. Each developer works on his/her own copy of a file, and all changes are later merged into a single master copy. |
|
|
|
|
|
What is version Control
|
|
|
Version control is the process of recording and retrieving changes in a project. A version control system can enable you to retrieve an old version to fix bugs or update features, branch development to allow the project to progress along multiple tracks simultaneously, and generate reports that show the changes between any two arbitrary stages of a project. |
|
|
|
|
|
- Any stored revision of a file can be retrieved to be viewed or changed.
- The differences between any two revisions can be displayed.
- Patches can be created automatically.
- Multiple developers can work simultaneously on the same project or file without loss of data.
- The project can be branched to allow simultaneous development along varied tracks. These branches can be merged back into the main line of development.
- Distributed development is supported across large or small networks. (CVS offers a variety of authentication mechanisms.)
|
|
|
|
|
|
The things to do before using CVS
|
|
|
Make sure all your developers have the CVSROOT environment variable set to the directory that is to hold your main file repository (mine is set to `/usr/src/master'). The following commands can be placed in a `.cshrc' or `.profile' files. |
|
|
|
|
|
for tcsh/csh users, |
|
|
setenv CVSROOT "Your CVS ROOT path" |
|
|
|
|
|
for bash/sh users. |
|
|
export CVSROOT="Your CVS ROOT path" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © 1998-2014 |
Deepak Kumar Tala - All rights reserved |
Do you have any Comment? mail me at:deepak@asic-world.com
|
|