Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 1998 09:55:01 +0000
From:      nik@iii.co.uk
To:        "James D. Butt" <jbutt@mwci.net>
Cc:        Brian McGovern <bmcgover@cisco.com>, questions@FreeBSD.ORG
Subject:   Re: CVSUP - Make release - checkme, please!
Message-ID:  <19980311095501.09933@iii.co.uk>
In-Reply-To: <Pine.BSF.3.96.980310114958.21942B-100000@firewall.mwci.net>; from James D. Butt on Tue, Mar 10, 1998 at 11:55:03AM -0600
References:  <199803101738.MAA00257@bmcgover-pc.cisco.com> <Pine.BSF.3.96.980310114958.21942B-100000@firewall.mwci.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 10, 1998 at 11:55:03AM -0600, James D. Butt wrote:
> > 	- Pulled down the current CVS repository (via cvsup with 
> > 	  /usr/share/examples/cvsup/cvs-supfile.
> > 
> > 	- I want to cvs co -r RELENG_2_2 (which doesn't seem to be working) to
> > 		get the latest stable code from the CVS archive (for 2.2.5)
> 
> I have not been able to get past here either...
> I copied the CVS-repository from the 2.2.5-release CD's
> Then I cvsup'ed  RELENG_2_2
> This all worked fine..
> When when I went to use cvs co -r RELENG_2_2  I get errors...
> 
> #1 it says that /home/ncvs/ports is not found... (Well I did not put the
> repository there..)

Ah ha. You're trying to check out the entire thing, which includes the
ports collection.

This is what I do:

  -  I keep a copy of all the FreeBSD repositorys in

         /usr/local/cvs-reps/FreeBSD/

     This means that I have the directories 'doc', 'src' and 'ports' under
     there.

  -  When I checkout the source I

         # cd /usr/src
         # setenv CVSROOT /usr/local/cvs-reps/FreeBSD
         # cvs checkout -d . -r RELENG_2_2 src

     This checks out the src directory from the repository, and roots the
     files in the current directory (the '-d .' parameter).

     If I didn't do this then CVS would create a 'src' directory in the
     current directory, giving me "/usr/src/src/".

  -  After I've run CVSup I can then

         # cd /usr/src
         # cvs update -Pd

     and it does the right thing.

Let me know if that helps.

N
-- 
Work: nik@iii.co.uk                       | FreeBSD + Perl + Apache
Rest: nik@nothing-going-on.demon.co.uk    | Remind me again why we need
Play: nik@freebsd.org                     | Microsoft?

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?19980311095501.09933>