切换到不同的svn分支时出错 [英] error when switching to different svn branch

查看:306
本文介绍了切换到不同的svn分支时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个SVN分支(例如,开发和稳定分支),并希望从一个分支切换到另一个分支。

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

在每个教程中都有类似以下的命令:

rootOfLocalSvnCopy:> svn开关urlToNewBranch。

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

中替换目录我发现的每个帮助都与svn切换有关--relocate,但我不想重新定位,只是将我的工作副本更改为另一个分支

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

推荐答案

好,我知道了

我在命令中用来指定本地目录的点是错误。正确的用法是没有它,svn可以自己处理所有事情:

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切换urlToNewBranch

(末尾没有点...)

这篇关于切换到不同的svn分支时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆