Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I checkout my project into my local system the IP address of SVN server is 192.168.5.x.

Because I have a DHCP server in my network, now the SVN IP changes to 192.168.5.y.

When I try to commit I get an error regarding this issue, now how can I point to the new IP? I'm using NetBeans to do SVN actions as wells in development.

share|improve this question
up vote 1 down vote accepted

For netbeans IDE,in main menu select Team->Relocate their give your modified URL,Source

Edit: Similarly in RapidSVN,in menu Repository->switch URL option will be there,here we can give new URL of SVN repository and check the relocate option.

share|improve this answer
    
Thanks I've tried,its working fine. – Yashwant Oct 22 '12 at 6:59

The command you want is svn switch. You can read more about its syntax by investigating svn help switch, but briefly;

svn switch --relocate <OLD REPOSITORY LOCATION> <NEW REPOSITORY LOCATION>

Be careful. Double check your addresses and make sure it doesn't get interrupted half-way through (especially if you're using SVN 1.6) or you'll have to clean up the mess afterwards.

Edit: Afterthought. Your SVN server should really have a static DHCP IP address, otherwise you'll have to keep switching this. Or at least a dynamic hostname which constantly points to the right IP address. It'll make your life easier.

share|improve this answer
    
Thanks for your response,I'm using UberSVN in Ubuntu,can you have idea's on UberSVN ? – Yashwant Oct 22 '12 at 6:39
    
Having never used it, I don't have much of an insight into it. I can't imagine why the process would be any different, but I think you should read UberSVN's documentation to verify that it isn't. I would start with this page – Xyon Oct 22 '12 at 8:29

In Tortoise SVN Client,

Go to root folder of the svn project. Then, right click.

TortoiseSVN->Relocate. And assign the new IP address.

Done

share|improve this answer

In NetBeans 8.0.2 :

  • Disconnect the repository (Menu: Team->Disconnect)
  • Clear repository url history (Menu: Tools->Options->Team->Subversion->Manage Connections Settings)
  • Reconnect with new url (Menu: Team->Connect)
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .