From owner-freebsd-questions@FreeBSD.ORG Wed Mar 19 14:10:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A923EC9C for ; Wed, 19 Mar 2014 14:10:08 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 814CBBA2 for ; Wed, 19 Mar 2014 14:10:07 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 7A1F433C25; Wed, 19 Mar 2014 10:02:03 -0400 (EDT) From: Lowell Gilbert To: Olivier Nicole Subject: Re: Upgrading FreeBSD to patch level with subversion References: Date: Wed, 19 Mar 2014 10:02:03 -0400 In-Reply-To: (Olivier Nicole's message of "Wed, 19 Mar 2014 15:48:47 +0700") Message-ID: <44wqfqcmn8.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 14:10:08 -0000 Olivier Nicole writes: > I don't understand how subversion works (or does not work). I think I've used five different version control systems in the last week. The context switching is driving me nuts. > When I upgrade a machine from 9.1 to 9.2 with: > > svn checkout http://svn0.us-west.FreeBSD.org/base/releng/9.2 /usr/src > > I get a kernel 9.2-RELEASE-p3 as expected > > Now if I installed a machine with 9.2-RELEASE and I try the same svn > command, nothing get updated. And nothing at all is printed when you do this? > Is there some magic to be added (beside deleting /usr/src) to get svn > to do the update? Go to /usr/src/ and try "svn info"; if you have an svn repository based there, it will give you (among other information) the server URL it is using as a base. > At least with cvs, update did mean update. I hate to break it to you, but 'update' works just about *exactly* the same between svn and cvs. I strongly suspect your issues are that you don't have the metadata installed to let svn keep track of the local workfiles. Certainly CVS doesn't work without that either. As I recall from installing sources in a FreeBSD initial install, sysinstall never installed the CVS tracking files either. Most people just ran an "adoption" procedure to get cvsup to start from the installed sources -- and if those didn't match the release exactly, you could end up with problems. But then, I could be wrong; I haven't done an initial install with sources in many, many years, largely for this reason.