Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 1996 20:13:43 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        plm@xs4all.nl (Peter Mutsaers)
Subject:   Re: Questions about the CVS and CTM
Message-ID:  <199608051813.UAA05781@uriah.heep.sax.de>
In-Reply-To: <87686zv1i6.fsf@localhost.xs4all.nl> from Peter Mutsaers at "Aug 4, 96 01:21:05 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608051813.UAA05781>