Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

change svn path

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers

I have a project in netbeans with svn repository but I need to change the ip of the svn server, how can i do that ?

Thanks in advance
 
Saloon Keeper
Posts: 22678
153
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless you find something in the svn book, there's only one "safe" way to do that. You push the old project out of the way and check out a fresh copy from the new server, then merge any updates. If your sysadmin is co-operative, he/she might be able to save you work by letting you check into your old project server and then move the archive to the new server where you can check it out without having to merge.

Both CVS and Subversion maintain server info at all levels of a checked-out project. In CVS it's safe to modify that info by brute force, but I'm not sure about Subversion.

At any rate, I think you've discovered why I'm a firm believer in accessing services via a meaningful hostname (e.g. svn.apache.org) instead of an IP address. If the IP address changes, but you've checked out using a hostname, you don't get this sort of trouble providing that nobody changes the hostname and DNS gets updated.

As an aside, you can retarget source archive servers in Eclipse projects under CVS. Eclipse notices the new address and asks whether you want to update your project. Eclipse makes CVS almost civilized. Now if someone would just tweak their subversion plugin to be equally civilized...
 
Carlos G�mez
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you tim
 
roses are red, violets are blue. Some poems rhyme and some are a tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic