A CVSROOT is defaulted if you're in a tree which you have checked out - the
info comes from CVS/Root.  If you're outside of any CVS tracked directory
you need to specify the root with -d and/or CVSROOT environement variable.

----- Original Message -----
From: "Kaz Kylheku" <[EMAIL PROTECTED]>
To: "Monica Li" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 4:01 PM
Subject: Re: use '-d' option


> On Mon, 3 Feb 2003, Monica Li wrote:
>
> > I imported some files into repository and checked out file for updating.
It
> > was all ok last week. Today, when I login I typed:
> >
> > cvs -d :pserver:userName@cvsserver:/repository login
> > Logging in to :pserver:userName@cvsserver:2401/repository
> > CVS password
> >
> > After login, I didn't do anything and logout. The following msg come up:
> >
> > cvs logout: No CVSROOT specified!  Please use the `-d' option
> > cvs [logout aborted]: or set the CVSROOT environment variable.
>
> You still need a CVSROOT environment variable or -d option, even though
> you logged in. Logging in just means that a weak security token is
> deposited into a file in your home directory, which allows you to
> interact with the repository.
>
> The key fact here is that you can log innto more than one repository at
> a time; the file can contain more than one such token! There is no
> concept of a ``current CVS repository you are logged into''.
>
> The CVSROOT environment variable, the -d option, or, for many commands,
> the surrounding sandbox (checked out copy) determine what repository
> you interact with.
>
> The cvs logout command too has to know *which* repository you want to
> log out from.
>
>
>
> _______________________________________________
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to