Will H. Backman wrote:
> <self pity>Ports are making me feel dumb.  Now I know why I stick to
> packages.</self pity>
> 
> Following examples from http://www.openbsd.org/anoncvs.html#EXAMPLE
> 
> I'm running 3.6 patch branch.  Getting src from anonymous CVS has always
> worked, but attempting to get ports fails.  I tried a few of the anoncvs
> servers.
> 
> star# setenv [EMAIL PROTECTED]:/cvs
> star# cd /usr; cvs checkout -P -rOPENBSD_3_6 ports
> cvs server: cannot find module `ports' - ignored
> cvs [checkout aborted]: cannot expand modules
> star#
> 
> or
> 
> star# cd /usr
> star# cvs -q get -rOPENBSD_3_6 -P ports
> cvs server: cannot find module `ports' - ignored
> cvs [checkout aborted]: cannot expand modules
> star#
> 
> What am I doing wrong?

14 line .sig? :)


The problem with the CVSROOT variable is that it is used as a LAST
choice, if nothing else tells it what CVS repository to use.

My guess: you have a .cvsrc file that specifies a CVS repository.  The
way you are using it, the CVSROOT you specify will be ignored if
anything is pointing cvs in another direction.  I verified this would
result in the error message you report.

Try
    # cd /usr/src
    # export [EMAIL PROTECTED]:/cvs
    # cvs -d$CVSROOT up -rOPENBSD_3_7 -Pd

That overrides any other CVSROOT preference cvs might have.

Nick.

Reply via email to