Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 08:20:29 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Chris Maness <chris@chrismaness.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Updating my /usr/src tree with SVN?
Message-ID:  <alpine.BSF.2.11.1406180811560.11883@mail.fig.ol.no>
In-Reply-To: <CANnsUMGLguQ9%2BLUhpURnWEHfWc5i9eHDr1EczG7Qa3cqz2bVQQ@mail.gmail.com>
References:  <CANnsUMGLguQ9%2BLUhpURnWEHfWc5i9eHDr1EczG7Qa3cqz2bVQQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Jun 2014 23:03-0700, Chris Maness wrote:

> I am trying to update to 9.0, and ran into the surprise that CVS is
> not supported for that version.
> 
> This site only seems to give a description of updating ports with SVN,
> and only hints at checkout/update the src tree.
> 
> http://www.freebsd.org/doc/handbook/svn.html#svn-mirrors
> 
> Could post the current command to update the source three?  I much
> prefer using mergemaster than vi to merge my files.  The binary update
> seems to force me to merge files by hand.
> 
> Thanks,
> Chris

You need a working Subversion client, preferably version 1.8.9.

Depending on what you need, you could:

1. Set aside the current /usr/src:

mv /usr/src /usr/src.old

2. Checkout the stable/9 source tree:

svn co https://svn0.us-west.freebsd.org/base/stable/9 /usr/src

Or, you might want to stick to 9.2-RELEASE + bug fixes:

svn co https://svn0.us-west.freebsd.org/base/releng/9.2 /usr/src

3. Migrate any files you need from the old source tree, typically 
kernel configuration files, and/or local patches, if any.

4. Eradicate the old source tree:

rm -R /usr/src.old

5. Keep the source tree up to date by running:

svn up /usr/src

===

Similar steps could be performed for the ports tree:

mv /usr/ports /usr/ports.old

svn co https://svn0.us-west.freebsd.org/ports/head /usr/ports

mv /usr/ports.old/distfiles /usr/ports

mv /usr/ports.old/packages /usr/ports

rm -R /usr/ports.old

svn up /usr/ports

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@FreeBSD.ORG  Wed Jun 18 06:37:48 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 103B0B3B
 for <freebsd-questions@freebsd.org>; Wed, 18 Jun 2014 06:37:48 +0000 (UTC)
Received: from mail-vc0-x22e.google.com (mail-vc0-x22e.google.com
 [IPv6:2607:f8b0:400c:c03::22e])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id C0E9B2C1D
 for <freebsd-questions@freebsd.org>; Wed, 18 Jun 2014 06:37:47 +0000 (UTC)
Received: by mail-vc0-f174.google.com with SMTP id hy4so363340vcb.5
 for <freebsd-questions@freebsd.org>; Tue, 17 Jun 2014 23:37:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:content-type;
 bh=CXSr2833GqstCqhNl9o2j8QeSg7NEanbcWsyHAxFu+Q=;
 b=ts/LwFvDnichn9JhT7/uLMXdjBmav0mv9HJLkfSTwEahrjHBy8EIEqbjHRiMhx08Bw
 SohzwGg4sior19t5IBZyMIFgD++/2oFfjCQHLjFKFF7fQ/2raXLpQtAjNrZCvO74eDxf
 5ITQjnJNN83wB4xOKfc5UMitzKLX5AKhrKAG+0pEOOlJn5PeOUaVOVnwnZJLbok4Yeza
 H2CrdA9fiNwObmzm/YPFIL80soCUHhgMyR7JjDWxKKRr5u5aJvtgrwgeWmCEkoH3Ze4n
 p41ZzttK758FUXJWNl8whyJ2JztWG/b8o+EbVklpEdaoqJb2rgnCH7C6AmcHn8nNfB9j
 Ul/w==
MIME-Version: 1.0
X-Received: by 10.220.7.71 with SMTP id c7mr69261vcc.77.1403073466882; Tue, 17
 Jun 2014 23:37:46 -0700 (PDT)
Sender: christopher.maness@gmail.com
Received: by 10.58.191.35 with HTTP; Tue, 17 Jun 2014 23:37:46 -0700 (PDT)
Received: by 10.58.191.35 with HTTP; Tue, 17 Jun 2014 23:37:46 -0700 (PDT)
In-Reply-To: <alpine.BSF.2.11.1406180811560.11883@mail.fig.ol.no>
References: <CANnsUMGLguQ9+LUhpURnWEHfWc5i9eHDr1EczG7Qa3cqz2bVQQ@mail.gmail.com>
 <alpine.BSF.2.11.1406180811560.11883@mail.fig.ol.no>
Date: Tue, 17 Jun 2014 23:37:46 -0700
X-Google-Sender-Auth: 65go9EwA5p5juHEwC0Ee2TJlfRI
Message-ID: <CANnsUMEAbQjh8y+HN20xkTiBhYwhMQ5Tv+edq5gj2Tt8PS5a1A@mail.gmail.com>
Subject: Re: Updating my /usr/src tree with SVN?
From: Chris Maness <chris@chrismaness.com>
To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>, 
 freebsd-questions@freebsd.org
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jun 2014 06:37:48 -0000

Perfect.

Thanks,
Chris



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