You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gary <li...@yahoo.co.uk> on 2012/04/25 10:23:31 UTC

Repo moved - how to update working copies

The repo that I got my working copies from has moved, so I need to update them somehow. What is involved, please?


Re: Repo moved - how to update working copies

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Johan Corveleyn wrote on Wed, Apr 25, 2012 at 10:50:53 +0200:
> with 'svn switch --relocate'.

This syntax works in all 1.x client versions, regardless of the value of x.

Re: Repo moved - how to update working copies

Posted by Johan Corveleyn <jc...@gmail.com>.
On Wed, Apr 25, 2012 at 10:43 AM, Gary <li...@yahoo.co.uk> wrote:
> Many thanks. I'll give that a go. I just hope the new server isn't 1.7, because I know the old one was 1.6.

The version of the server doesn't matter. Your svn clients (and
working copies) don't really care (except for some newer features,
such as being able to use the more optimal HTTPv2 protocol if it's a
1.7 mod_dav_svn server).

The commands Stefan cited are client-side commands, to be executed for
all your working copies. The command has simply changed in 1.7, so 1.7
clients need to execute 'svn relocate', while 1.6 clients do the same
with 'svn switch --relocate'.

-- 
Johan

AW: Repo moved - how to update working copies

Posted by Markus Schaber <m....@3s-software.com>.
Hi, Gary,

-----Ursprüngliche Nachricht-----
> From: Stefan Sperling <st...@elego.de>
> > > On Wed, Apr 25, 2012 at 09:23:31AM +0100, Gary wrote:
> > > The repo that I got my working copies from has moved, so I need to
> > > update them somehow. What is involved, please?
> > 1.6.x and earlier: svn help switch; see the --relocate option
> > 1.7.x: svn help relocate 
> Many thanks. I'll give that a go. I just hope the new server isn't 1.7,
> because I know the old one was 1.6.

It purely depends on the client version whether you need "svn switch --relocate" or "svn relocate".

The server version is not relevant for this case, it should work with all server versions from 1.0 to 1.7, and even if the server version changed during the move.

Best regards

Markus Schaber
-- 
___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50

Email: m.schaber@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 


Re: Repo moved - how to update working copies

Posted by Gary <li...@yahoo.co.uk>.
Many thanks. I'll give that a go. I just hope the new server isn't 1.7, because I know the old one was 1.6.


----- Original Message -----
From: Stefan Sperling <st...@elego.de>

On Wed, Apr 25, 2012 at 09:23:31AM +0100, Gary wrote:
> The repo that I got my working copies from has moved, so I need to update them somehow. What is involved, please?
> 

1.6.x and earlier: svn help switch; see the --relocate option
1.7.x: svn help relocate


Re: Repo moved - how to update working copies

Posted by Stefan Sperling <st...@elego.de>.
On Wed, Apr 25, 2012 at 09:23:31AM +0100, Gary wrote:
> The repo that I got my working copies from has moved, so I need to update them somehow. What is involved, please?
> 

1.6.x and earlier: svn help switch; see the --relocate option
1.7.x: svn help relocate