From owner-freebsd-stable@FreeBSD.ORG Sun Nov 21 22:52:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B0A716A4CE for ; Sun, 21 Nov 2004 22:52:38 +0000 (GMT) Received: from av6-1-sn2.hy.skanova.net (av6-1-sn2.hy.skanova.net [81.228.8.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A8443D45 for ; Sun, 21 Nov 2004 22:52:37 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av6-1-sn2.hy.skanova.net (Postfix, from userid 502) id 58A1D37E4D; Sun, 21 Nov 2004 23:52:36 +0100 (CET) Received: from smtp2-2-sn2.hy.skanova.net (smtp2-2-sn2.hy.skanova.net [81.228.8.178]) by av6-1-sn2.hy.skanova.net (Postfix) with ESMTP id 41E0737E47 for ; Sun, 21 Nov 2004 23:52:36 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp2-2-sn2.hy.skanova.net (Postfix) with SMTP id 1AB8E37E43 for ; Sun, 21 Nov 2004 23:52:35 +0100 (CET) Received: (qmail 84900 invoked by uid 1001); 21 Nov 2004 22:52:35 -0000 Date: Sun, 21 Nov 2004 23:52:35 +0100 From: Erik Trulsson To: Vlad Manilici Message-ID: <20041121225235.GA84856@falcon.midgard.homeip.net> Mail-Followup-To: Vlad Manilici , freebsd-stable@freebsd.org References: <20041121144943.GA4493@fx.homeunix.org> <20041121150818.GA80514@falcon.midgard.homeip.net> <20041121155804.GB1143@fx.homeunix.org> <20041121174052.GA83173@falcon.midgard.homeip.net> <20041121220352.GA743@fx.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041121220352.GA743@fx.homeunix.org> User-Agent: Mutt/1.5.6i cc: freebsd-stable@freebsd.org Subject: Re: CVS/cvsup problems (ports/74157) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 22:52:38 -0000 On Sun, Nov 21, 2004 at 11:03:52PM +0100, Vlad Manilici wrote: > Hi Erik, > > > I use CVS to check out from my own local copy of the repository (which > > it seems you do too.) I use CVSup to keep my local copy of the > > repository updated (cvsuping from cvsup.dk.freebsd.org) > > Could you please post your supfile? The Handbook does not document cvsuping > the repository, nor where the master mirror sites are. Some rsync sites are > listed, though (Section A.8). Look at the example sup files in /usr/share/examples/cvsup/ cvs-supfile found in there should be good for getting the repository. All cvsup mirrors should support getting a copy of the repository. See the handbook sections A5.3 and A5.7 where these things are documented. > > I strongly disgree with the documented way of updating the sources via > cvsup (Handbook, A.5). A local copy of the sources, without CVS tags, makes > it impossible to generate patches of own changes. I suppose much work gets > lost like this. For developers it is very convinient to have a local copy of the repository, which is obtainable via cvsup as I mentioned above. For normal users there is not much point in having it and it uses up another 2GB of diskspace and makes updates slower (since yo have to run both cvsup and cvs, as opposed to just cvsup if use cvsup to checkout a particular branch. > > > Is there some particular reason you use rsync instead of cvsup to get a > > copy the repository? > > 1. rsync -> only documented method Not at all. cvsup is also documented and probably used more. > 2. allbsd.org -> random choice > > > Since I don't use rsync I have no idea if teh above line is correct or > > not. I also have no idea if rsync.allbsd.org is up to date and working > > or not, but if it is not it quite likely the cause of your problem. > > It seems so. The only way to check this out is by using an "official" > repository. See above about posting your supfile. > > > I don't think there is any need to use the '-R' option to those > > commands (it is not even documented in the manpage.) > > Read better: > > -R Turns on read-only repository mode. In that case you want 'cvs -R update -P -d', not 'cvs update -R -P -d' It does matter if you put options before or after the cvs command. (The general syntax for cvs is 'cvs [cvs-options] command [command-options]' '-R' for read-only repository is one of the "general" cvs options and as such must come before the command. Use 'cvs --help', 'cvs --help-options' and 'cvs -H update' to see what options are valid. (I have read the CVS documentation before. > > > *Bad* idea. I really do not appreciate getting 2+ MB in a mail, and I > > don't think anybody else on the freebsd-stable list does either. > > I apologize for that. > > > I didn't see anything obviously wrong in the logs. > > Well, me neither :/. > > Vlad > -- Erik Trulsson ertr1013@student.uu.se