Judah Gabriel Himango
Judah Gabriel Himango

Reputation: 60061

Why did my SVN repository move to a different path?

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?

Upvotes: 0

Views: 127

Answers (2)

R. Martinho Fernandes
R. Martinho Fernandes

Reputation: 234654

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

svn switch --relocate svn://machineName/OurProject svn://machineName/someFolder/OurProject

Upvotes: 3

Matt
Matt

Reputation: 44078

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

svnserve -d -r /path/to/someFolder

Upvotes: 3

Related Questions