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

RE: Change from svn: to http:

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-03-01 20:35:14 CET

Nope, the repositories have to have the same uuid. In fact, there is some
network trafic going on, because it is fetching the uuid from the target
A partial solution for this problem is to create diffs on all working copies
( svn diff ), checkout fresh new working copies of the new repositories and
then ony by one apply the diffs to the corresponding new working copies.
This is a partial solution, because the diff format doesn't support tree
structure changes ( folder rename/delete ... ).


From: Peter Howe [mailto:Peter.Howe@uk.linedata.com]
Sent: woensdag 1 maart 2006 20:17
To: Lieven Govaerts; users@subversion.tigris.org
Subject: RE: Change from svn: to http:

Thanks. Will svn switch --relocate also work if the "TO" path is a new
repository and the revision number of the new repository doesn't match the
old repository?


What's happened is that the code from the old repository has been moved
(newly committed) into the new repository on a different server (maintaining
the same structure underneath the directory where it lives in the new
repository.) The root directory within the new repository is slightly
different: not only http: instead of svn: but also in a subdirectory that
didn't exist in the old repository.


I'm guessing my command is


svn switch --relocate svn://old-server http://new-server/new-directory


Does this look like it will work?


Thanks in advance.




From: Lieven Govaerts [mailto:lgo@mobsol.be]
Sent: 01 March 2006 17:51
To: Peter Howe; users@subversion.tigris.org
Subject: RE: Change from svn: to http:


svn switch --relocate FROM TO [PATH...]


Will replace the old url by the new in all your working copies. This is only
a text replace, no access to the net needed.

( can take some time )





From: Peter Howe [mailto:Peter.Howe@uk.linedata.com]
Sent: woensdag 1 maart 2006 18:20
To: users@subversion.tigris.org
Subject: Change from svn: to http:

I have recently changed a well established repository from being access via
svn:// to be accessed via http:// and all is well.

However, one of our users has about 100 checked out large repositories with
various changes yet to be committed. Is there any way to change a working
copy to point at the respoitory using http:// now instead of svn://


(There is more history to this change etc. but I won't bore you with it
unless I have to!)


Many thanks

Received on Wed Mar 1 21:01:11 2006

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