Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN relocate issue with uuid

I have a question about svn switch --relocate. I have an old repository called beta and we are moving to a new SVN server. There I created a new repo called legacy and committed all the files from the beta repository. Now I need to update all the working copies to use the repo legacy. When I do a command for this, it says the UUID doesn't match:

svn switch --relocate file:///var/www/svn/beta https://domain.com/svn/legacy

svn: The repository at 'https://domain.com/svn/legacy' has uuid '3e359681-0317-844a-a84c-80a4a624e59d', but the WC has '35afee29-560b-4976-914e-5bafcd58a7c0'

How can I fix it so that the working copy is connected to the legacy repo?

like image 935
user169573 Avatar asked Nov 03 '22 00:11

user169573


1 Answers

You can't switch between repositories, if they have different UUID (they are "unrelated"). You have to make

  • new fresh checkout from legacy

or

  • setuuid legacy for using UUID of beta
like image 186
Lazy Badger Avatar answered Nov 18 '22 22:11

Lazy Badger