Powered by Blogger.

How to create a Repository in CVS

>> Friday, August 19, 2011


CREATE a REPOSITORY

First off, you need to create a repository directory on some stable, trustworthy host. This directory is probably called something like
  • /opt/CVS
  • /usr/local/CVS
  • /mnt/CVS
You get the idea. Create this directory.
You need to set the envar CVSROOT to the name of that directory. For now, let's not worry about multiple repositories; we'll just note that by changing the envar you can make CVS look in one or another of several repositories, should you happen to have several.
There's a script cvsinit that came with CVS. You should use this script to help initialize your new repository. As the CVS INSTALL guide says, "There are many ways to customize CVS for your site. Read the cvs(5) manual page when you get the chance." I couldn't put it better myself.

Now we'll assume that you survived all of the above, and that you have a properly configured repository.






Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2022. All rights reserved.