Hi,
recently i made some changes in a server where a svn was hosted, part of the changes was the change of the URL, so here i was having problem to commit the changes from my working copy. i tried to make a switch and a switch –relocate but any of them worked, some times is says the repository isn’t the same or some times is executed but the url wasn’t changed.
if you are in a hurry and can’t figure out how to make it work, just execute this command:
find /path/to/your/working/copy/ -type f -name ‘entries’ -exec sed -i ‘s|http://url/of/your/old/repository/|http://url/of/your/new/repository/|g’ {} \;
basically that going to replace all the url appearance of your old repository url to the new one, if you have branches or subfolders, maybe you need to execute this several times changing the strings, open a entries file inside the .svn folders to figure it out
i hope it help you
Regards,
Shadow.






Just a quick comment to avoid the confusion I had….when coping this line from Firefox in Windows, to Notepad to edit, and then to a term window to my webserver, (which maybe doesn’t even matter), the single-quotes are not recognized as single-quotes, so you have to change ’ to ‘ (the first points down to the left, the latter is vertical). You need to do that both for the sed argument and the name argument.