Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 1998 10:41:08 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to Get Source from CD CVS Repository
Message-ID:  <Pine.BSF.3.96.980626103907.25008Y-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.3.96.980625141417.7973A-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jun 1998, Annelise Anderson wrote:

> > > I created a supfile to use with cvsup, telling it to put the
> > > files in /opt:
> > 
> > You don't use cvsup to access a repository, you use it to _update_ it ..
> 
> Access?  Update?  Anyway I think I could probably run cvsupd and then
> access the files on the disk (repository?) with cvsup.  However, let's
> proceed with cvs:
>  > 
> > > I tried using cvs, like this:
> > > cd /opt/src 
> > > # that's where I want the stuff put
> > > setenv CVSROOT /cdrom/CVSROOT
> > > cvs checkout -d . -r RELENG_2_2_5_RELEASE src
> > > but get various error messages--I think there's something I don't
> > > understand about this.

Try 

cvs -R co -r RELENG_2_2_5_RELEASE src

the -R flag enables read-only mode; see the cvs man page for details.

> If one wants the most recent source, it might be better to leave out
> the -r argument or use -r HEAD; would that be correct?  Many of the
> files include a RELENG_2_2_6_RELEASE tag (which is what I meant to write
> above) but with some other stuff after it, different for each file.  So
> this tag might not get the most recent.

If you don't specify a tag you get the -CURRENT source at the time the CD
was pressed.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980626103907.25008Y-100000>