Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to add new modules to repository

Status
Not open for further replies.

mrbean2766

Programmer
Jun 23, 2001
18
AU
Hello guys n gals.

I'm having CVS issues with a server I inherited. It is a CentOS 5.0 Linux box with the following directory structure as it pertains to CVS:

/home
|_cvshome
|_CVSROOT
|_REP

All the modules are stored inside /home/cvshome/REP. Say I have an existing module named KillerApp. I am able to checkout the module (via WinCVS) using the following CVSROOT (SSH Protocol) string:

:ssh;username=me;hostname=myhost;privatekey='C:\DOCUME~1\me\id_rsa.ppk';version=2:me@myhost:/home/cvshome

As you can see, there is no mention of REP in that string yet it is miraculously checked out successfully!

I then try and add a new module (it doesn't matter whether via WinCVS or at the console) it adds the module to the /home/cvshome directory. If I move the directory manually into the REP subdir, I'm not able to check it out. What do I need to do to ensure that new modules go into the REP subdir?

tia,
tkb.
 
Nevermind people, I've sorted it out! I have been doing some reading and it appears the file '$CVSROOT/CVSROOT/modules' holds the secret. I'll play around with it and should this not be it, I'll be sure to post back...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top