svn:switch不适用于相对的svn:external? [英] svn:switch doesn't work with relative svn:external?
问题描述
我们有一个子文件夹,它是一个相对svn的外部文件夹(../project/subfolder)。在新的主干结帐中,它指向(... TRUNK /项目/子文件夹),在新的分支结帐中,它指向(... BRANCH / branchName / project /子文件夹)。但是,如果您在包含子文件夹的项目上进行切换,则子文件夹将始终指向TRUNK。或者,如果您执行BRANCH检出并切换到TRUNK,它仍然指向BRANCH。
We have a subfolder that is a relative svn external (../project/subfolder). In a fresh trunk checkout it points to (...TRUNK/project/subfolder) and in a fresh branch checkout it points to (...BRANCH/branchName/project/subfolder). But if you do a switch on the project containing the subfolder, the subfolder stays pointing at TRUNK. Alternately if you do a BRANCH checkout and switch to TRUNK it stays pointing at BRANCH.
svn:switch不能更新相对外部吗?我应该在运行某种递归svn:switch吗?
Shouldn't an svn:switch update relative externals? Is there some sort of recursive svn:switch I should be running?
推荐答案
问题的正确答案是是的,它应该更新这些外部组件。事实并非如此:
The correct answer to the question is "yes, it should update those externals." The fact that it does not is a bug:
请参阅: http://subversion.tigris.org/issues/show_bug.cgi?id=3390
修复目标里程碑是1.6.10。该修复程序显然已完成,但在我撰写本文时,当前的发行版仍为1.6.6。
Fix target milestone is 1.6.10. The fix is apparently completed, but the current release version as I write this is still 1.6.6.
这篇关于svn:switch不适用于相对的svn:external?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!