error when switching to different svn branch

∥☆過路亽.° 提交于 2019-12-24 11:35:56

问题


I've got two SVN branches (eg development and stable) and want to switch from one to another...

In every tutorial there is command like:
rootOfLocalSvnCopy:>svn switch urlToNewBranch .

But it leads in error in my case:

svn: REPORT request failed on '/svn/rootOfLocalSvnCopy/!svn/vcc/default'<br/>
svn: Cannot replace a directory from within

Every help that I found is about svn switch --relocate but I don't want to relocate, just to change my working copy to another branch


回答1:


OK, I get it work.

Error was in dot that I used to specify local directory in a command. correct usage is without it, svn can handle it all itself:

rootOfLocalSvnCopy:>svn switch urlToNewBranch

(No dot at the end...)



来源:https://stackoverflow.com/questions/115281/error-when-switching-to-different-svn-branch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!