Skip to main content

relocating/switching SVN repository

My SVN repository changed recently and I was worried about associating my Java workspace with the new repository . Checking out from the new repository was always an option but of course, I would have lost my non committed changes.

After googling for half an hour, I found a way to switch my SVN repository.

1. Find the current repository's URL to which your files/folders are associated.
svn info

2. Switch the repo.
svn switch --relocate

3. Verify the current repo's URL.
svn info

Hope this helps.

Comments