From owner-freebsd-questions Thu Aug 2 4:16:33 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 0B02537B401 for ; Thu, 2 Aug 2001 04:16:28 -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 f72AUih11709; Thu, 2 Aug 2001 12:30:44 +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: <20010802094734.74901.qmail@web20103.mail.yahoo.com> Date: Thu, 02 Aug 2001 12:31:21 +0200 (CEST) From: Micke Josefsson To: Bsd Newbie Subject: RE: information about $CVSROOT, 'cvs update' and 'cvsup' - help! Cc: freebsd-questions@FreeBSD.ORG 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 Install the cvsup-bin from ports. Then edit /usr/share/examples/cvsup/stable-supfile (CHANGE_THIS to cvsup.se or a country closer to you). Then: #cvsup -g -L2 /usr/share/examples/cvsup/stable-supfile and you're off. The CVSROOT stuff is probably if you want to retrieve the entire CVS-tree - if you want to act as a cvsup-server yourself, which you don't. /M On 02-Aug-01 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 > > I keep getting the following error: > > cvs update: No CVSROOT specified! Please use the `-d' option > cvs [update aborted]: or set the CVSROOT environment variable. > > I tried reading the man page (unlike some of you, I have an extremely hard > time figuring out what is being said and applying that to my problem) I > gathered the proper format for the command would be: > > cvs -d /usr/src update -P > > well... after doing this I get this error: > > cvs [update aborted]: /usr/src/CVSROOT: No such file or directory > > Now, I have no clue what do to. This all has something to do with some > mysterious $CVSROOT entry... and I can't seem to find anything about this > in the handbook, and Greg Lehey's book doesn't seem to say too much about > it (all I found is the following - "cvs expects to find the name of its > repository in the enviroment variable CVSROOT, and it won't work if you > don > t put it there." pg.375) > > After reading this, I've become extremely confused about CVS and CVSUP. > > CVSROOT contains files used by CVS and it's not part of the source tree... > ummm what does this mean? > > What is the repository? I thought this is where you got the updated port > listings from? > > Does my system have a repository? > > What is the tree? Why do I have to update my tree? I thought everytime I > ran cvsup it upgraded my tree... if so what does the 'cvs update -P -d' > command do... and how does it differ from 'cvsup (filename)'? > > It seems the more I read the more confused I become. > > Any and all help, like always, will be greatly appreciated. > > __________________________________________________ > 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