From owner-freebsd-ports@FreeBSD.ORG Fri Feb 8 14:53:42 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 14AF3434 for ; Fri, 8 Feb 2013 14:53:42 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id D2835A51 for ; Fri, 8 Feb 2013 14:53:41 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1U3pKc-000FKB-HW; Fri, 08 Feb 2013 09:53:40 -0500 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id 7E60D19E1A5C; Fri, 8 Feb 2013 09:53:37 -0500 (EST) Message-ID: <5115116E.5010009@FreeBSD.org> Date: Fri, 08 Feb 2013 09:53:34 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: mexas@bristol.ac.uk References: <201302081447.r18El5Tv035300@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201302081447.r18El5Tv035300@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 1.5 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Subject: Re: how to move 9.1 ports to HEAD? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 14:53:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/8/13 9:47 AM, Anton Shterenlikht wrote: > I just installed 9.1-release including the ports tree: > > root@zzz:/usr/ports # svn info /usr/ports/ Path: . Working Copy > Root Path: /usr/ports URL: > svn://svn.freebsd.org/ports/branches/RELENG_9_1_0 Repository Root: > svn://svn.freebsd.org/ports Repository UUID: > 35697150-7ecd-e111-bb59-0022644237b5 Revision: 311939 Node Kind: > directory Schedule: normal Last Changed Author: beat Last Changed > Rev: 307934 Last Changed Date: 2012-11-28 20:30:08 +0000 (Wed, 28 > Nov 2012) > > root@zzz:/usr/ports # > > I want to move the ports tree to HEAD. Is there an easy way (i.e. > not involving rm -rf /usr/ports/* and then a fresh svn co) of > achieving this? > > I tried "svn switch" and "svn relocate", but it seems these are > intended for just changing the root URL, i.e. when the tree itself > is not changing. > > Please advise > > Thanks > > Anton Hi Anton, The command "svn switch svn://svn.freebsd.org/ports/head/" will do what you want. "svn relocate" repoints a working copy to a new URL, if the repository has changed on the server side, but "svn switch" updates the local working copy to match a new URL within the same repository on the server. Hope it helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEVEW4ACgkQ0sRouByUApA/lgCgs9n9jTWiaJQe9VfW1umHk+U5 3fUAnixWFiC+nXRcu7EAYOCCyOUVICta =LBMV -----END PGP SIGNATURE-----