May 8, 2024

I was trying to access my Sourceforge project via subversion and I got the following error:

Could not resolve hostname `svn.sourceforge.net’: The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. (https://svn.sourceforge.net)

Then I figured out that they changed how to access the svn repository.

The Subversion doc says it was changed Nov 2006. I guessed they just recently disabled the old method of accessing it.

Run ‘svn info’ at the root of the repository content, it should display a line that appears similar to: URL: https://svn.sourceforge.net/svnroot/PROJECTNAME/trunk
Run the following command at the root of the working copy: svn switch –relocate https://svn.sourceforge.net/svnroot/PROJECTNAME/trunk https://PROJECTNAME.svn.sourceforge.net/svnroot/PROJECTNAME/trunk

So, I ran this command to fix it for my project:

svn switch –relocate https://svn.sourceforge.net/svnroot/pwcore/trunk https://pwcore.svn.sourceforge.net/svnroot/pwcore/trunk

Now subversion works again.