R – How to update all svn:externals references after a server migration

externalsmigrationpropertiessvnsvn-externals

I migrated an SVN server today and ran into an issue. I have a repo that has an svn:externals property on a trunk subfolder. This folder has been branched a bunch of times and now this svn:externals reference needs updated on every single branch to refer to the new server.

Is there an easy way to update all of these properties?

I'm not excited about updating them individually by hand.

I'm on windows, too, so a fancy bash script won't work. There's got to be an easier way!

Note: this is from the old pre-1.5 days when svn:externals references had to be absolute.


Update: a simple relocate won't do it since these are absolute URLs.

Best Answer

You could install Cygwin and use the bash script to which you linked.