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
