Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2002 22:11:20 +0100
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: cvsup mirrors badly behind?
Message-ID:  <20020210221119.Q1494@shell.gsinet.sittig.org>
In-Reply-To: <3C6602EB.2010403@vee.net>; from mike@vee.net on Sun, Feb 10, 2002 at 03:49:39PM %2B1030
References:  <3C6602EB.2010403@vee.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 10, 2002 at 15:49 +1030, Mike Gratton wrote:
> 
> Err, I'm probably missing something blatantly obvious here, but after 
> doing a source update from a few cvsup servers (cvsup.au, and a few US 
> servers) I'm still at 4.4, despite having:
> 
>    *default release=cvs tag=RELENG_4
> 
> in my sup file.

Well, you snipped the rest of your config.  But the above
"release=cvs" makes cvsup mirror the CVS *repo* to your disk.
There's nothing wrong with this, it's actually of much benefit
for interested FreeBSD users (and hackers).  It's just that you
cannot compile from a repo, you have to update your sandbox (the
actual source tree) from your local repo.  See "man cvsup" and
"man cvs" (or www.cvshome.org) for starters.

cvsup server
     |
     | `cvsup` with "release=cvs"
     v
local CVS repo
     |
     | `cvs update` maybe with "-r RELENG_4"
     v
local src tree(s)

The above scenario allows you to update multiple source trees
from one local repo (i.e. bothering the project's resources
only once while updating multiple local machines).  It allows
you to keep a -STABLE and a -CURRENT tree around, again while
bothering the FreeBSD cvsup server only once.  You can easily
travel back and forth in time for a few days should the current
tree experience a little jitter.  You can dig in the local repo
(i.e. fast and cheap) for what has changed and why.  etc etc ...

To cut it short, I would even consider this setup to be more
appropriate for any user behind a slow link, with more than
one machine, for developers, or for the curious. :)

I'm not aware of a document at the FreeBSD site (though I
didn't look too hard so it doesn't count too much).  But IIRC
OpenBSD (www.CC.openbsd.org) has an "anoncvs" document you
might want to read.  I found it to be quite interesting.

> Are all the cvsup servers that far behind? Or has the branch for 
> tracking -STABLE moved from under me?

Strictly speaking you should never have seen any different
behaviour with your above config. :)


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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