[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: Peter Howe <Peter.Howe_at_uk.linedata.com>
Date: 2006-03-01 20:16:51 CET

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.

P.

 

________________________________

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 )

 

Lieven.

         

        
________________________________

        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

        Pete
Received on Wed Mar 1 20:19:01 2006

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