[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting CVS Repository

From: Raymond Chan
Subject: Setting CVS Repository
Date: Wed, 26 Jul 2006 12:06:31 -0700



I’m a newbie at CVS, and have been trying to figure out how to set up CVS w/ a live web source files.  The project has been getting pretty big, and I’ve finally decided to set up CVS to better organize the project.  However, I have a few newbie questions I hope someone can help me with:


My webpage is set up at a directory such as /var/www/web.  My plan was to set up CVS on the same server which is my web server.  I installed CVS on my Linux server and set the CVSROOT environment variable to /var/www/web.  I set up the necessary permissions so that only web developers have the rights to check in and out code.  The first thing I did was run “cvs init” which creates a directory at /var/www/web/CVSROOT.


My goal was to be able to check out code and commit changes back to /var/www/web so these changes would be reflected immediately on the website.  It seems to me that CVS by default wants your source code in $CVSROOT/CVSROOT.  However, I want to try to keep my repository as just $CVSROOT (without the additional ./CVSROOT subdirectory that it creates).  Is this possible?  Must I move my webroot one directory down to ./CVSROOT?  Any advice about whether I should do what I want to do, or a workaround would be great.


Thank you very much!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]