In the repo browser when I enter the svn root (http://servername/svn) directory I get this message "Repository moved permanently to 'http//....' please relocate
There are several projects in this repository and I can access/checkout/update each project but I can't even access the root.
How can I fix this?
In my case if was the wrong Proxy settings for Jenkins.
Check your Apache Configuration and remove/comment the ErrorDocument redirection. That's all.
Just in case this also helps anyone. I found this message can appear if you have a DocumentRoot defined in your vhost.
I have faced the same problem. Considering that you are not admin of the server, as I am not, I've used the
svn switch --relocate
command with success:svn switch --relocate https://my.server.url/svn/projectname https://my.server.url/new.dictory/authscm/username/svn/projectname
Of course, these two URLs and their relative directories happened to be in my case, but in general lines this solution worked fine for me, i.e.,
using switch --relocate
from the old to the new URL.Make sure you have the locaction block specified correctly in your apache config file:
not
I've had this with spaces in the SVN url and using
Cornerstone
. Using terminalsvn checkout <url>
did work instead.