Subject: Re: CVS difficulties
To: Andrew Brown <atatat@atatdot.net>
From: Steve Tremblett <sjt@cisco.com>
List: netbsd-help
Date: 07/25/2002 12:45:26
+---- Andrew Brown wrote:
| ># export CVSROOT=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
| ># cvs login
| >cvs login: can only use pserver method with `login' command
| >cvs [login aborted]: CVSROOT: anoncvs@anoncvs.netbsd.org:/cvsroot
|
| note that you set CVSROOT to one value, but then cvs complained about
| another value.
|
| there are three ways you can specify a given CVSROOT:
|
| (1) environment variable, overridden by
| (2) the presence of a CVS/Root file, overridden by
| (3) using cvs -d somecvsroot
|
| it looks like you set the environment variable, but are in a directory
| that specifies an alternate CVSROOT.
|
| try specifying the CVSROOT you want on the command line and doing the
| login. alternately, make sure that you have CVS_RSH set to ssh. once
| you find a CVSROOT that works for you, change all your CVS/Root files
| to point to it.
Still no go :(
# cd /usr/src
# echo $CVSROOT
# cat CVS/Root
anoncvs@anoncvs.netbsd.org:/cvsroot
# cvs login
cvs login: can only use pserver method with `login' command
cvs [login aborted]: CVSROOT: anoncvs@anoncvs.netbsd.org:/cvsroot
# export CVS_RSH=ssh
# cvs login
cvs login: can only use pserver method with `login' command
cvs [login aborted]: CVSROOT: anoncvs@anoncvs.netbsd.org:/cvsroot
#
--
Steve Tremblett