Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.