[EMAIL PROTECTED] (Larry Jones) writes:
> Jorge Godoy writes:
> >
> > Both servers were onto his ~/.cvspass file. He don't have the CVSROOT
> > environment variable defined (all commands use the -d option).
>
> You should only use -d when doing the initial checkout -- once you have
> stuff checked out, CVS knows where it came from (from CVS/Repository and
> CVS/Root), so there's no need to specify it on the command line and
> doing so can be dangerous (see below).
I understood.
So, the only way to override CVS/Root is with the -d option. Can I
"blindly" believe that? :-)
> Most likely, he used the wrong -d option for the directory he was in.
> An explicit -d option takes precedence over CVS/Root and CVS/Repository,
> which in turn take precedence over $CVSROOT.
Is it an interesting feature to keep? I see it as more dangerous than
useful it the cvs user doesn't take care.
One can make aliases to log into the correct cvs server and also alias
cvs to "cvs -d server/repository"... If CVS/Root had precedence, one
couldn't do that...
--
Godoy. <[EMAIL PROTECTED]>
Departamento de Publica��es
Publishing Department Conectiva S.A.