From owner-freebsd-questions Thu Aug 2 6:55:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id CACBC37B403 for ; Thu, 2 Aug 2001 06:55:05 -0700 (PDT) (envelope-from mj@isy.liu.se) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.11.4/8.11.4) with ESMTP id f72DhPh15069; Thu, 2 Aug 2001 15:43:25 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010802105809.11599.qmail@web20108.mail.yahoo.com> Date: Thu, 02 Aug 2001 15:43:57 +0200 (CEST) From: Micke Josefsson To: Bsd Newbie Subject: Re: information about $CVSROOT, 'cvs update' and 'cvsup' - help! Cc: freebsd-questions@FreeBSD.ORG, so@server.i-clue.de Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 02-Aug-01 Bsd Newbie wrote: > > I DID "RTFM". > > The more I read the more it confuses me. > > I HAVE updated to 4-STABLE. > > My confusion lies in what I've done. I thought I updated my ports, but > now I'm not entirely sure cvsup does this. > > Reading the information got me this far... but i'm new to unix in general > and while the handbook and Greg Lehey's book are good, they aren't > perfect. I still leave confused. > > -Sameer When I first tried cvsup I wound up with a giant tree with lots of "Attic"-directories and files ening in ",v". Apparently I had got the entire combined sources - the CVS Repository itself. From a repository, cvsup extracts the files needed to become -STABLE, or 3.1-RELEASE or whatever. The sources are there for every version ever made. Normally you just want to pull out the ones relevant for one version (most often RELENG_4 the stable sources for 4.x-STABLE). If you have a lot of files ending in ,v then take a peek inside it. It contains every patch ever made. Look at rlog(1) and you can see what this file was before and what changes were made to it. It is quite fun to be an archaeologist! /M > > --- Christoph Sold wrote: >> >> >> Bsd Newbie wrote: >> > >> > I tried to update my existing tree... by typing (what was stated in >> Greg >> > Lehey's book): >> > >> > cd /usr/src >> > cvs update -P -d >> > >> > [snip] >> >> > Now, I have no clue what do to. >> > [snip] >> > >> > After reading this, I've become extremely confused about CVS and >> CVSUP. >> >> CVS is to manage various versions of FreeBSD source code. It is much >> easier to use CVSup to update your sources. RTFM: >> http://www.freebsd.org/handbook/cutting-edge.html tells the whole story. >> Read the whole chapter, then update to -STABLE. >> >> HTH >> -Christoph Sold >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 4.3-STABLE ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message