From owner-freebsd-current Mon Aug 5 11:44:33 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA10534 for current-outgoing; Mon, 5 Aug 1996 11:44:33 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA10523 for ; Mon, 5 Aug 1996 11:44:28 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id UAA00556; Mon, 5 Aug 1996 20:44:20 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id UAA29739; Mon, 5 Aug 1996 20:44:19 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id UAA05781; Mon, 5 Aug 1996 20:13:43 +0200 (MET DST) From: J Wunsch Message-Id: <199608051813.UAA05781@uriah.heep.sax.de> Subject: Re: Questions about the CVS and CTM To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 5 Aug 1996 20:13:43 +0200 (MET DST) Cc: plm@xs4all.nl (Peter Mutsaers) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <87686zv1i6.fsf@localhost.xs4all.nl> from Peter Mutsaers at "Aug 4, 96 01:21:05 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Peter Mutsaers wrote: > I now have the CVS version of the sources unpacked. Now if I want to > do make world, what is the normal thing to do? > > What I did was 'cvs checkout src'. Then I get a copy of src, and I can > do a 'make world' in it. I can do 'cvs update' in the future, right? Right. > This does cost lots and lots of diskspace, since I have to have both > the CVS source and the checked-out source on disk (together with the > objects). Is there a more efficient way? Sorry, no. That's the price. The advantage is that you can have local modifications (see below), or can go back to some ``secure'' version in your checked out copy if you find the -current one too unstable but don't have the time or energy to debug that piece of code right now. It's merely a fine developer's tool, but nothing for the ``final customer''. > Another question: how do I make local modifications? If I do this and > cvs commit them to my local cvs repository (maybe as a branch) then I > have a problem since ctm's md5 checksums won't match anymore, thus ctm > will fail. (I need to have ISDN support within two days, thus I'll > patch bisdn in). You can't commit them to the CVS repository, but your checked out copy will retain them even with future `cvs update's. (As long as they don't conflict with changes that have been made to the master repository, of course.) John Polstra's recently announced CVSup is supposed to also handle local repository modifications. > Yet another ctm question: Is it possible to omit a certain branch, for > example src/games or ports/japanese? I could just remove it from disk > since I don't need it and don't like to waste diskspace on it, but > then also ctm updates will fail when they try to patch something in > these directories. Or will ctm just skip them and continue? I think you will have to keep them in the repository, but you don't necessarily have to checkout everything. Btw., for ports, it's not worth a mention. Only the deltas are stored, so the `japanese' and `russian' ports are checked out 2 MB alltogether. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)