For Programmers: Free Programming Magazines  


Home > Archive > Open Source Software > October 2006 > unix help!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author unix help!
stiraspecc

2006-10-22, 7:45 pm

So I've been messing around with unix and am trying to use the import function using cvs.

In my home directory, I initialized cvs by the following command:

cvs -d /home/username/CVSrep init

This created a CVSrep directory in my home directory. Home directory looks like this.

CVSrep homework

Now to import, I go into my homework folder (cd homework/h1) and type the following:

cvs import -m "adding assignment to repository" mal gsr assignment-1.

I get the following error.

cvs import: No CVSROOT specified! Please use the -d option
cvs [import aborted]: or set the CVSROOT environment variable.

I am not sure what needs to be done to get my file to the cvs repository. Anyone have any suggestions? Thanks!
patriet

2006-10-23, 5:53 am

I am pretty sure you need to set the environment variable CVSROOT equal to your repository.
CVSROOT=/home/username/CVSrep; export CVSROOT <--for sh.
setenv CVSROOT /home/username/CVSrep <--for csh.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com