LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CVS download directory...... (https://www.linuxquestions.org/questions/linux-newbie-8/cvs-download-directory-238820/)

chunlee 10-04-2004 07:07 PM

CVS download directory......
 
hi there:

i have just started using CVS and got a quick question. how would i change the default directory that CVS downloads to? at the moment everything goes into my home directory and i thought it will be nice and cleaner to have them downloaded to a specified directory like "CVS_checkedout".

many thanks

yours

CHUN

CroMagnon 10-04-2004 08:26 PM

Normally cvs will check out into whatever your current directory is. If you are in /home/chunlee and do "cvs co project", it will usually create /home/chunlee/project and put all the files in there. So one way to do it would be to change to the parent directory before you run the checkout.

The other way is to use "cvs co -d path project", but this will override the default behaviour of creating a subdirectory for you, so you would need to use "cvs co -d CVS_checkedout/projectdir project"

chunlee 10-05-2004 02:40 AM

great! thanks. will give it a try

cheers

CHUN


All times are GMT -5. The time now is 06:25 PM.