Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2013 09:53:34 -0500
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        mexas@bristol.ac.uk
Cc:        freebsd-ports@freebsd.org
Subject:   Re: how to move 9.1 ports to HEAD?
Message-ID:  <5115116E.5010009@FreeBSD.org>
In-Reply-To: <201302081447.r18El5Tv035300@mech-cluster241.men.bris.ac.uk>
References:  <201302081447.r18El5Tv035300@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5115116E.5010009>