开发者

Why did my SVN repository move to a different path?

开发者 https://www.devze.com 2022-12-14 19:15 出处:网络
After our source control machine rebooted, the SVN path to our repository somehow changed: Before: svn://machineName/OurProject

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?


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

svnserve -d -r /path/to/someFolder


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

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

精彩评论

暂无评论...
验证码 换一张
取 消