I’ve been using NetBeans for a project and hosting a Subversion repository at riouxsvn.com, but recently the servers just went down and have been ever since. Since the servers are down, I couldn’t import it into assembla using their Import from URL feature. So now I need to check the code in at the new repository at assembla.com, but using the menu options Team > Relocate gives me the following error:
org.tigris.subversion.javahl.ClientException: svn: The repository at ‘https://subversion.assembla.com/svn/opmtoolset‘ has uuid ’36c7bd81-9045-4dfa-9d2c-2ba0fa0ee7f3’, but the WC has ‘7f9aa1f8-8c2b-44dd-b220-ac62e04eeab0’
You are probably trying to relocate to a wrong repository. Your working copy has been created from a different one.
Check the URL again.You may also checkout the target repository and create a new working copy.
I understand the basic message, but I am unsure of how to resolve it. I get that I now have two repositories (the new one is obviously empty) and the UUIDs differ, but I was hoping that telling NetBeans that I want to relocate would be the way to go.
So my question is: Is there a way to tell NetBeans that I want to use a new URL for my repository?
Secondary questions: If repositories (clearly) don’t work the way I expect them to, how do I get around this problem? Do I make a new project in NetBeans and check all the code in again at the new host? In that case, what does the Relocate function in NetBeans do?
If your original repository is gone forever, then what you need to do is check in the current working copy into the new repository as new source. The simplest way to do this is
svn addthe source to the new repositoryAs ChristopheD pointed out, you’ll lose your history, but that’s already gone.