tags:

views:

181

answers:

2

My mate created a project from SVN with bad hostname - 192.168.0.100. - yes, with a dot at the end. :)

Eclipse created this project, downloaded files, etc but there is problem with commits.

Is it possible to change SVN hostname in this current existing project from 192.168.0.100. to 192.168.0.100 without creating a new one (from shell or something) ?

Solution:

svn --relocate switch http://192.168.0.100./project http://192.168.0.100/project .
+7  A: 

You can use the svn switch command to change the location (using the --relocate option)

Philippe Leybaert
I got an error: svn: 'http://192.168.0.100./project'is not the same repository as'http://192.168.0.100/project'
hsz
did you use the --relocate switch?
Philippe Leybaert
Thanks Philippe - it works fine ! :)
hsz
A: 

You can use your favorite text search/replace tool and replace "192.168.0.100." with "192.168.0.100" in all the .svn/entries files in all the directories of the project.

Ivan Krechetov