切换到不同svn分支时出错
我有两个 SVN 分支(例如开发分支和稳定分支)并且想要从一个分支切换到另一个分支...
在每个教程中都有如下命令:rootOfLocalSvnCopy:>svn switch urlToNewBranch 。
但在我的情况下它会导致错误:
svn: REPORT request failed on '/svn/rootOfLocalSvnCopy/!svn/vcc/default'<br/>
svn: Cannot replace a directory from within
我发现的每个帮助都是关于 svn switch --relocate 但我不想重新定位,只是为了改变我的工作复制到另一个分支
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我搞定了。
错误出现在我用来在命令中指定本地目录的点中。 正确的用法是没有它,svn 可以自己处理它:
rootOfLocalSvnCopy:>svn 切换 urlToNewBranch
(末尾没有点...)
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...)