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

Re: Relocate Problem

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-24 23:23:49 CEST

On May 24, 2005, at 3:02 PM, Nelson, Charles @ AS wrote:

> http://server/svn/project_name/project_dir/repo_name/branches/br_1
>
>
>
> The new structure is:
>
>
>
> http://server/svn/new_project_name/project_dir/repo_name/
> branches/new_dir/br_1
>
>

You should *not* be using the --relocate switch for this.

'svn switch' and 'svn switch --relocate' are very different commands
for very different situations.

Use 'svn switch --relocate' only when the url that _leads to the
repository_ has changed. For example, the scheme, hostname, port,
etc. The command does a blind rewrite of the prefix of every URL
stored in the working copy.

Use 'svn switch' when the path _within the repository_ has changed.
The command runs a real 'update', asking the server to compare two
paths within the repository, and to apply the differences to your
working copy. You use this, for example, to switch to a branch. Or
if the project itself were simply moved within the repository.

So you want the 2nd case.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 24 23:26:53 2005

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.