4

I had initially checked out code from repository A. But due to maintenance tasks, we had the code moved to a new repository B.

When I try to update/commit my code I get the below error:

svn: 'http://99.99.99.old/svn/company/project/trunk/web'
is not the same repository as
'http://99.99.99.new/svn/company/project'

Is there way to 'relocate' my Android Studio code from repo A to repo B?

Ahmed Faisal
  • 4,397
  • 12
  • 45
  • 74

2 Answers2

6

You can use the command line and do svn relocate: http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html

or inside Android Studio the option it's at the bottom of this menu :VCS->Subversion->Relocate

isma3l
  • 3,833
  • 1
  • 22
  • 28
1

There is an option in update dialog to Update/Switch repository. You can open it with Ctrl+T shortcut.

ilian
  • 60
  • 2
  • 3