How do I Change the repository location for a checked out projects in IntelliJ

Hi I have a project in java.net , since they have moved from colab.net to Project Kenai I can no longer check in my files because the repository url has chnaged. Can I tell Intellij the new repository location for my existing checked out files ?

6 comments
Comment actions Permalink

Hello Paul,

For a Subversion project, you'll need to run the svn switch --relocate command
from the command line to update the repository address.

Hi I have a project in java.net , since they have moved from colab.net
to Project Kenai I can no longer check in my files because the
repository url has chnaged. Can I tell Intellij the new repository
location for my existing checked out files ?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hmm sounds correct,didtnt work for me though


I cded to the top level of the project
svn switch --relocate https://jaudiotagger.dev.java.net/svn/jaudiotagger https://svn.java.net/svn/jaudiotagger~svn --username username --password password


Error validating server certificate for 'https://svn.java.net:443':
- The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
- Hostname: www.java.net
- Valid: from Mon, 20 Sep 2010 00:00:00 GMT until Wed, 19 Sep 2012 23:59:59 GMT
- Issuer: Class 3 MPKI Secure Server CA, VeriSign Trust Network, Sun Microsystems Inc
- Fingerprint: 22:d2:d5:43:96:0f:eb:e0:9a:20:b9:14:b4:d9:32:1e:6a:f3:37:11
(R)eject, accept (t)emporarily or accept (p)ermanently? p
svn: The repository at 'https://svn.java.net/svn/jaudiotagger~svn/trunk' has uuid '922cec90-98bc-ecba-b0a9-867c771b4a74', but the WC has '04e72293-3a78-0410-9da
d-cdce4f004a7c'

0
Comment actions Permalink

Found this post http://stackoverflow.com/questions/1678272/tortoise-svn-relocate-to-new-repository and tried this

svnadmin setuuid https://svn.java.net/svn/jaudiotagger~svn 04e72293-3a78-0410-9da
svnadmin: 'https://svn.java.net/svn/jaudiotagger~svn' is an URL when it should be a path

looks like I have to run it on the server , which I dont have permission to do. I wonder if there is some kind of find and replace I can do ?

0
Comment actions Permalink

I assume you are referring to the system command line?

(there isn't a command line tool hidden in IDEA, right?)

0
Comment actions Permalink

This is really a subversion question, and although I am sure people here would be glad to help you if they could, you may get more Subversion expertise on some Subversion forums or their mailing list:  http://subversion.apache.org/mailing-lists.html or http://www.svnforum.org/forum.php

0
Comment actions Permalink

Maybe you should just go the easy way.
Check out the repository to a new place and you are done.
If you have changes in your working copy, either use "svn export" to get a clean tree without SVN metadata or run some command that deletes all .svn folders and copy the result over your fresh checkout.
When using svn export you could eventually "loose" files in the output that are not under version control if that is an issue.

0

Please sign in to leave a comment.