Reputation: 4610
I received a dump file of a SVN repository that I'm moving to my server. Let's call it myserver.com/svn. The load statement prints out a long list of files loaded and reports no error. However, once I try to access the repository for checkout, or relocate my existing checkout, I'm told:
Repository moved temporarily to 'http://www.myserver.com/svn'; please relocate
In other words, my new repository reports that it has temporarily moved to itself. How do I get past that? I can't find anything about this message in documentation about the svnadmin load command.
Upvotes: 1
Views: 2238
Reputation: 1261
If you are using by any chance and have an .htaccess file somewhere around the DocumentRoot directory of the VirtualHost, try removing it and see if it helps. :)
Upvotes: 0
Reputation: 52641
It could be that your server is configured to redirect all errors to somewhere (ie the homepage). The line you should look for would be called something like
ErrorDocument 404 http://www.myserver.com/svn
SVN apparently uses 404 (not found) errors in order to add new resources. You must allow this one to pass through instead of making a redirection, or svn will get confused.
Upvotes: 0
Reputation: 871
subversion generates a UUID (Universally Unique ID) whenever it creates a repository. I believe that in order to use the UUID from your original repo you need to ad "--force-uuid" to your svnadmin load command.
http://svnbook.red-bean.com/en/1.5/svn.ref.svnadmin.c.load.html
Upvotes: 1
Reputation: 19612
I heard of a few cases where this was caused by adding a '/' at the end of the path in the <Location directive in the apache configuration.
Please remove the '/' if you added one.
Upvotes: 0
Reputation: 10620
I think someone has added a hook script to inform you that your repository is now at another URL.
If this was not expected, it might indicate a security issue.
Upvotes: 0