Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn change source respository

Tags:

svn

I have checked out code from a svn repository and started making changes. But now the repository has been renamed. How do I map my local repository to the newly named source repository and then run svn commands on it.

like image 257
Vijay Shankar Kalyanaraman Avatar asked Apr 02 '12 21:04

Vijay Shankar Kalyanaraman


People also ask

How do I move a svn project from one repo to another?

If you don't want history, you can use svn export to get a clean folder without the . svn folders and then svn import into your other repository. With history, you would need to use the svnadmin dump . You would then use svndumpfilter to filter for only the parts or paths you want to use before using svnadmin load .

How do I change my TortoiseSVN URL?

If you use TortoiseSVN, see this article for instructions. In case you need to change the url for your Git repository, you can do this by going to the root of your working copy, then you need to go to . git folder (please note that this folder is hidden), and modify remotes in your config file.

How do I move my TortoiseSVN repository?

If you are using TortoiseSVN (and I'm sure there's a command line tool for this as well, but I'm using Tortoise), you can simply right-click on your existing working copy folder and select TortoiseSVN –> Relocate. In the dialog that comes up, enter the new location of the repository, and click OK.

What is svn source code repository?

What is SVN? Apache Subversion, also known as Subversion, SVN represents the most popular centralized version control system on the market. With a centralized system, all files and historical data are stored on a central server. Developers can commit their changes directly to that central server repository.


1 Answers

For Subversion 1.6 or lower, use svn switch --relocate
For Subversion 1.7 or later, use svn relocate

like image 158
rlovtang Avatar answered Sep 30 '22 06:09

rlovtang