[Top][All Lists]

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

Re: use '-d' option

From: Kaz Kylheku
Subject: Re: use '-d' option
Date: Mon, 3 Feb 2003 16:01:16 -0800 (PST)

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:address@hidden:/repository login
> Logging in to :pserver:address@hidden: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.

reply via email to

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