Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN Switch with relocate in Eclipse

Tags:

My question can be claimed to be an extension/similar to the question posted here.

basically, I need to do the same functionality using Eclipse plugin Subclipse. Subclipse has a functionality to "Switch branch/tag/revision", however, this is limited as it treats the new url as a repository and tries to compare them. I only wish to change the URL.

any ideas!

like image 912
M. Faraz Avatar asked Aug 08 '11 09:08

M. Faraz


People also ask

What does svn relocate do?

The --relocate option causes svn switch to do something different: it updates your working copy to point to the same repository directory, only at a different URL (typically because an administrator has moved the repository to another server, or to another URL on the same server).

How do I open svn repository Exploring perspective in eclipse?

The Eclipse SVN plug-in provides a dedicated perspective for working with SVN repositories. To activate this perspective, choose Window > Open Perspective > Other... and select SVN Repository Exploring.


1 Answers

From SVN Repository Exploring perspective right click on your project repository and choose Relocate.. from contextual menu:

enter image description here

It will bring up a confirmation windows showing you active projects which will be affected by relocation.

like image 130
Vlad Avatar answered Sep 28 '22 20:09

Vlad