[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: repositories on a new server in a subdirectory - how t o switch?

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 24 Jun 2008 01:22:05 -0500

On Jun 23, 2008, at 03:16, <Sascha.Wojewsky_at_heinze.de>
<Sascha.Wojewsky_at_heinze.de> wrote:

> weve got a new server for our subversion repositories. Because of
> some mistakes in the structure of the old repositories weve
> decided do put al projects in one rository in subdirectories.
> Now ive a problem to switch the local working copy to the new url
> (new server and subdirectory in the repository).
> How could i solve this problem without making a new export?

You say you have "a problem" but don't say what the problem is. If
it's just that you don't know how to tell your working copies where
the repositories have been moved to, then the command you should use
is "svn switch --relocate OLD NEW" where OLD and NEW are the old and
new repository URLs, respectively.

For example, if your repository was previously at http://
www.example.com/svn/ and now it's moved to https://svn.example.com/
repos/project1/ then you could go into your working copy and say:

svn switch --relocate http://www.example.com/svn https://

(all on one line; please pardon my email client if it breaks that
into multiple lines)

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-24 08:22:32 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.