Joe.wang
Joe.wang

Reputation: 11793

How to duplicate or move to another SVN url

My current SVN URL is:

http://xx.test.com:8001/A/B/C

I want to duplicate or move all staff including all of the change history under this URL to another URL like:

http://xx.test.com:8001/D/E

Can this be done on an SVN client (TortoiseSVN), or does it need to be done on the SVN server?

Upvotes: 0

Views: 497

Answers (3)

Lazy Badger
Lazy Badger

Reputation: 97270

"It depends".

When you see only old-URL and new-URL, you can't be sure, are they belong to the same repository (with / root-path) or to different, i.e which part of URL is repository-URL and which - path inside repository.

If you'll see at svn info output, you can answer on this question, see @

URL: ...
Relative URL: ...
Repository Root: ...

fields and can select the right tool: for single-repository operation you'll copy with svn-client (using "Branch|tags"), for cross-repositories copies you have to use some repository-administration tools (svnadmin load|dump) and access to SVN-server

Upvotes: 1

Ashif
Ashif

Reputation: 1684

Your need to move Repository "A" to Repository "D". To achieve this, you need to work on server side. First you need to dump the "Repo A" and reload to "Repo D". As per my knowledge, You cant move repository usingSVN client. Please correct me, if i am wrong. [Move subversion repository]

Upvotes: 1

Vaibhav Jain
Vaibhav Jain

Reputation: 3755

Try this :

Project --> Tortoise SVN --> Relocate ---> Change the URL

enter image description here

Upvotes: 1

Related Questions