From owner-freebsd-questions@FreeBSD.ORG Wed Apr 1 11:01:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4439106564A for ; Wed, 1 Apr 2009 11:01:22 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 560B58FC13 for ; Wed, 1 Apr 2009 11:01:22 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:62150 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1LoyC9-0005OP-4H for freebsd-questions@freebsd.org; Wed, 01 Apr 2009 13:01:21 +0200 Received: (qmail 141 invoked from network); 1 Apr 2009 13:01:19 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 1 Apr 2009 13:01:19 +0200 Received: (qmail 41039 invoked by uid 1001); 1 Apr 2009 13:01:19 +0200 Date: Wed, 1 Apr 2009 13:01:19 +0200 From: Erik Trulsson To: Andrew Hamilton-Wright Message-ID: <20090401110119.GA40976@owl.midgard.homeip.net> References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1LoyC9-0005OP-4H. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1LoyC9-0005OP-4H ad8bd57129380b0a9a2a3ab27be2bce4 Cc: Chuck Robey , FreeBSD Questions Mailing List Subject: Re: going from cvs to svnq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 11:01:23 -0000 On Wed, Apr 01, 2009 at 07:05:53AM -0300, Andrew Hamilton-Wright wrote: > > [ snippage of question re: svn and cvs ] > > On Tue, 31 Mar 2009, Chuck Robey wrote: > > > Andrew Wright wrote: > >> > >> The primary advantage of using svn is that the _server_ uses a > >> different protocol to track objects. > > > > I think that's unclear, you can't mean that just having the protocol be > > different, that's not that much of a win. Having svn track extra things, like > > directories, that I'd think was a win. > > I chose the word protocol poorly. For "protocol" read "way of > doing things", or perhaps "algorithm". > > What I was trying to make clear is that the choice of tool between > cvs and svn is made based on server related criteria. > > > > > What I don't know is, I use cvsup all the time, but when I switch to svn, what > > does the "cvsup" job of tracking an archive (not tracking the sources, I mean > > the archive)? Does svn do it all itself? If so, I can find out how, I just > > want to know if that's how its done. If not, what's the general tool used to > > track the freebsd archive, so I can investigate it? > > If you are asking "what is the name of the subversion client, and how > can I use it?", then the answer is "svn" (which is also the executable > used for the server, a la cvs with the "pserver" option). Usage No, 'svnserve' is normally the executable running on the server. > instructions are available via: > http://subversion.tigris.org > > > If you are asking "what can I type to get a readonly copy of the > repo?", then according to the ROADMAP.txt at: > http://svn.freebsd.org/viewvc/base/ROADMAP.txt?view=markup > the answer appears to be: > svn co http://svn.freebsd.org/base/head No, that is not going to get you a copy of the subversion repository, but just a checked out copy of HEAD. There is no 'svn' command that will give you a copy of the whole repository. Personally I have found 'rsync' to be quite useful in replicating a subversion repository, but that of course requires the server to support it, which is probably not the case for the FreeBSD repo. I don't know if there currently is any supported method for ordinary users to get a copy of the whole FreeBSD subversion repository. I suspect there isn't. > > Strong Caveats: > o One of the peculiarities of subversion is that if you > leave off the "head" portion of the URL, you will get _all_ of > the nodes in the repository -- that is, the history at every point. > > o As I mentioned earlier, this will produce a newly checked out working > space that is incompatible with cvsup (or cvs in general). > > o ***Early Adopter Warning***: There has not been (as far as I know) a > general call for people to move to this type of repository access except > for committers -- therefore expect rough edges until a general announcement > is made. > > A. > -- Erik Trulsson ertr1013@student.uu.se