info-cvs
[Top][All Lists]
Advanced

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

Re: question about pserver


From: david
Subject: Re: question about pserver
Date: Mon, 17 Jun 2002 08:59:46 -0500 (CDT)

> 
> I just want to verify what I've read because it seems wrong.  
> 
> When on a remote unix host, the successfully logged in user always has to
> type
> 
>       cvs -d :pserver:address@hidden:/usr/local/cvs co -c
> 
> They can't just type "cvs co -c"?  
> 
The question is, which repository?  CVS has to know where it is
accessing, and by which method.  There are three ways to do this,
in order of precedence:

1.  If you specify the CVSROOT information with the "-d" option,
as above, then CVS will use that.

2.  If you don't use "-d", but are in a directory that is CVS-controlled,
CVS will go where that directory was checked out from.

3.  If neither of the above applies, CVS will use your CVSROOT
environment variable.

If you are doing a "cvs co -c" on a repository that you have neither
checked out something from, nor have set as your default with the
CVSROOT environment variable, then you are going to have to
temporarily change CVSROOT or use the "-d" option.

Just a matter of how CVS will know where to go.

David H. Thornley                        | If you want my opinion, ask.
address@hidden                       | If you don't, flee.
http://www.thornley.net/~thornley/david/ | O-



reply via email to

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