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

svn switch when rebasing repository?

From: Torgeir Veimo <torgeir_at_pobox.com>
Date: Fri, 29 Feb 2008 14:44:47 +0000

I've changed our repository to use paths such as svn://hostname/
projectname/trunk instead of svn://hostname/trunk etc using dump and
load with --parent-dir.

However changing working copy repositories for developers has been a
bit more difficult. I've tried svn switch, but i get errors like

Macintosh:src2 torgeir$ svn switch svn://hostname/project
svn: Failed to add directory 'trunk': object of the same name already
exists

I',m trying this from within the src2 directory, which contains the
trunk and branches subdirectories, some of which has local changes.

svn switch --relocate seems to be only for changing the actual hostname?

Any ideas? Should I rather go for a diff / patch approach, or write a
sed script that changes urls in each .svn/entries file?

-- 
Torgeir Veimo
torgeir_at_pobox.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-29 15:45:39 CET

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.