LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How do I use CVS? (https://www.linuxquestions.org/questions/programming-9/how-do-i-use-cvs-357721/)

dinolinux 08-28-2005 03:33 AM

How do I use CVS?
 
Hi!

I started learning CVS yesterday and I know how to do some stuff, but I need to created a module outside the CVSROOT. How do I do that? If I do cvs add <modulename> I get this:
Code:

<user>@cvs.sourceforge.net's password:
cvs add: in directory `.':
cvs [add aborted]: there is no version here; do `cvs checkout' first

I can't do checkout! It'll just give me the whole repository!

HELP!

Mara 08-28-2005 01:46 PM

CVS adds certain files other than your source to CVSROOT. If you try without setting it it doesn't have them. You need to create modules in CVSROOT. The thing is, however, that you can have many and switch between them. In every CVS command you can use -d option and pass specific directory that will override CVSROOT.


All times are GMT -5. The time now is 06:13 AM.