[Top][All Lists]

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

Re: Configuration woes

From: Larry Jones
Subject: Re: Configuration woes
Date: Wed, 24 Jan 2001 17:29:21 -0500 (EST)

address@hidden writes:
> I'm trying to get cvs working under linux, and the docs on the 
> cvshome site don't say anything about how to set it it up properly.

The INSTALL file in the CVS source distribution has initial setup
instructions and pointers into the main CVS manual for details.  (The
manual has lots of information on setting up CVS, but it's not all in
one place.)

> > cvs -d /usr/local/cvsroot init

It's much simpler to set and export $CVSROOT instead of constantly
having to type the -d option.

> I now create a passwd file in the local dir and run
> > cvs :pserver:address@hidden:/usr/local/cvsroot add 
> CVSROOT/passwd
> and get
> cvs add: in directory .:
> cvs [add aborted]: there is no version here; do 'cvs checkout' first
> What the hell does this mean? Of course there is no version, I want 
> to add it.....

Add requires you to be in a checked out directory.  You need to do:

        cd CVSROOT
        cvs add passwd

(Since you're in a checked out directory, CVS knows where it came from
so you don't have to use the -d option or have $CVSROOT set.)

However, the passwd file is not usually maintained via CVS due to
security risks, it is usually just edited in-place on the server
machine; if you do want to maintain it with CVS, you have to add it to
the CVSROOT/checkoutlist file.  See the very last paragraph of:

-Larry Jones

The surgeon general should issue a warning about playing with girls. -- Calvin

reply via email to

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