tags:

views:

71

answers:

3

After our source control machine rebooted, the SVN path to our repository somehow changed:

Before: svn://machineName/OurProject

After: svn://machineName/someFolder/OurProject

How do I fix this?

A: 

Has the path of the repository changed on the source machine? Has the HTTP server configuration changed?

MatthieuF
No, the path of the repository has not changed on the machine. Seriously, I was using it last night, I restarted the machine, and now the path is different. We're not doing anything with HTTP server config.
Judah Himango
This should be a comment, not an answer.
Michael Hackner
I think it's OK as an answer - I mean, prodding questions like this often lead to the real answer.
Judah Himango
+2  A: 

On the SVN server, use the -r flag to point to the correct root repos folder

svnserve -d -r /path/to/someFolder

Matt
Running any command on svnserve issues a dll error message. Woops. Maybe that is related to this issue. I'll reinstall SVN server.
Judah Himango
Reinstalling fixed it, so I'm marking yours as the correct answer.
Judah Himango
Glad to hear it, thanks.
Matt
+2  A: 

It appears someone (intentionally or not) changed the path. To fix your working copy:

svn switch --relocate svn://machineName/OurProject svn://machineName/someFolder/OurProject
Martinho Fernandes
Thanks, but no thanks. I'd like to keep all our working copies pointing to the path original path.
Judah Himango
Since you had no idea why the path changed I thought you couldn't manipulate the server.
Martinho Fernandes