%mkdir cvsrepository
%cvs -d /home/team-jdx/cvsrepository initThis initializes the repository and creates the appropriate administrative files needed by cvs. You must provide the full absolute pathname of the desired directory.
%cd src/current(The three lines above are to be entered as one command.)
%cvs -d /home/team-jdx/cvsrepository
import -m "Creating project from imported source"
teamproject Team3 start
In this example, "teamproject" is the name you desire for CVS to
use to
identify your project. The name "teamproject" will be the name of the
directory for your project files within the CVS repository. (Describe
where "teamproject" will be
visible.) "Team3" and "start" are the "vendor tag" and "release
tag". These can be anything you want them to be and you won't refer to
them exept in unusual circumstances. The string after the -m parameter
will be entered into the CVS log describing this transaction.
You probably should delete the original source files in src/current
after importing them because now CVS is controlling everything.
%cd ~team-jdxAlso be sure that other users have read/execute access to your team home directory.
%chmod -R og+rwx cvsrepository
%chmod og+rx ~team-jdxIf everyone on the team belongs to the same UNIX group then you everything should be fine. Just be sure that the group owns the directory that contains the repository. In other situations, you may have to set file permissions. Refer to the CVS manual for more information.
That's it! The repository is now ready for access by your team.