问题描述
我在一个(工作)项目中工作,该项目分散在无数(源)项目和SVN位置中.为了使生活更轻松,我听从了同事的建议,在SVN /_all/
上设置了一个新文件夹,并将其他所有项目的主干文件夹都指定为外部文件夹:
I work on a (work) project that's scattered across a myriad of (source) projects and SVN locations. To make life easier, I followed a colleague's advice and set up a new folder on SVN, /_all/
, and specified all of the other projects' trunk folders as externals:
当我检出/_all
时,它会忠实地拔出所有外部项目.效果很好.
When I check /_all
out, it dutifully pulls out all external projects. It works great.
但是在我的SVN Repo浏览器中,我只能看到所有外部链接之一.它似乎也有错误的覆盖图标(蓝色而不是红色箭头: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-repobrowser.html ) ,这是一个没有trunk/
子文件夹的项目.
But in my SVN Repo Browser, I can only see one of all those externals being linked in. It also seems to have the wrong overlay icon (blue instead of red arrow: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-repobrowser.html ) Incidentally, it's the one project where there is no trunk/
subfolder...
最重要的是,TortoiseSVN似乎不确定该怎么做.仅显示在上方资源库浏览器"中的一个外部项目被识别为最新"(绿色勾号),其他所有项目都被分配了一个很大的问号...
On top of that, TortoiseSVN seems to be unsure what to make of it all; only the one external project displayed in the Repository Browser above is recognized as "up to date" (green tick), all others get a big question mark assigned…
任何想法,我要去哪里错了,我需要怎么做...
Any ideas where I'm going wrong and what I need to do to...
- 要使所有外部项目在SVN上显示为子文件夹(即链接的项目)?
- 让TortoiseSVN在本地识别这些项目是最新的吗?
我希望您能从中获得帮助的所有技巧. :)
I'd appreciate any tips to help sort this out. :)
推荐答案
事实证明,它实际上是错误,并且有一个解决方法,如StefanKüng所指出的:
Turns out that it is actually a bug and that there is a workaround, as Stefan Küng points out:
在SVN中创建此文件夹... | ...并将其附加为外部
Create this folder in SVN... | ...and attach this one as an external
^/_all/project1/trunk | ^/project1/trunk
^/_all/groupA/subgroup1/project2/trunk | ^/groupA/subgroup1/project2/trunk
^/_all/project3 | ^/project3
不太清楚:
^/_all/project1 | ^/project1/trunk
^/_all/groupA/subgroup1/project2 | ^/groupA/subgroup1/project2/trunk
^/_all/ | ^/project3
这篇关于SVN外部未在TortoiseSVN的存储库浏览器中正确显示,并且在本地标记为非版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!