are the cvs instructions wrong

Joel Sherrill joel.sherrill@OARcorp.com
Fri Apr 4 21:16:00 GMT 2003



Gerald Pfeifer wrote:
> 
> On Thu, 3 Apr 2003, Joel Sherrill wrote:
> > I was reading the cvs instructions to check out the source anonymously
> > and I don't think the CVSROOT is correct at http://gcc.gnu.org/cvs.html.
> > It says the directory is /cvsroot/gcc but I can't get that to work on
> > subversions. On gcc.gnu.org, the path I use is /cvs/gcc.  Am I crazy or
> > is something wrong with the instructions?  Both is a distinct
> > possibility. :}
> 
> I cannot decide this (FWIW, you might even be a clever robot :-) ), but
> I just tried it following the instructions and it worked:
> 
>  /files/pfeifer% setenv CVSROOT :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
>  /files/pfeifer% cvs login
>  Logging in to :pserver:anoncvs@subversions.gnu.org:2401/cvsroot/gcc
>  CVS password:
>  /files/pfeifer% cvs -z 9 co gcc
>  cvs server: Updating gcc
>  U gcc/.cvsignore
>  U gcc/COPYING
>  U gcc/COPYING.LIB
>  :
> 
> What exactly does not work for you?  (What is the exact sequence of
> commands?)

There are slight differences in the behavior of subverions.gnu.org and 
gcc.gnu.org which tripped me up.  

  + root directory is different (but I saw this)
	gcc.gnu.org has the root directory "/cvs/gcc" while 
        subversions in "/cvsroot/gcc".  
  + passwd behavior for anoncvs user is different
        gcc.gnu.org takes empty string or anoncvs as password
        subversions only takes empty string

I primarily have used gcc.gnu.org so the subtle differences 
tripped me up.
 
> Or might it have been an intermitten problem on the CVS server?

Or an intermittent human problem on my side. :)

> Gerald
> --
> Gerald "Jerry"   pfeifer@dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/



More information about the Gcc mailing list