info-cvs
[Top][All Lists]
Advanced

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

Re: cvs init: CVSROOT "helloworld.cvsroot" must be an absolute path name


From: Rob Helmer
Subject: Re: cvs init: CVSROOT "helloworld.cvsroot" must be an absolute path name
Date: Thu, 9 Aug 2001 11:57:28 -0700
User-agent: Mutt/1.2.5i

On Thu, Aug 09, 2001 at 02:38:18PM -0400, Kevin Fonner wrote:
> I am new to programming on linux and I was experimenting with cvs off of 
> instructions out of a book.
> 
> It told me to type "cvs -d helloworld.cvsroot init" after creating the 
> directory ofcourse.
> 
> I then got the error....
> cvs init: CVSROOT "helloworld.cvsroot" must be an absolute path name
> 
> how can I correct this?
> I assume this has something to do with path since this worked when I 
> created the directory directly in my home directory.
> But I would like to organize my files within my home directory like...
> /dev/java/helloworld/helloword.cvsroot
> 
> Is this ok to do?

This is ok, you just need to specify the absolute (aka full ) path to 
the repository.

If your repository was in /var/cvs/helloworld.cvsroot, the absolute 
path would be /var/cvs/helloworld.cvsroot and you would do this :

"cvs -d /var/cvs/helloworld.cvsroot init"

I am assuming you want to check out to your home directory, not keep
the repository there. Your work directory and the repository directory
need to be two seperate places.



HTH,
Rob Helmer
Namodn



reply via email to

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