SVN外部未在TortoiseSVN的存储库浏览器中正确显示,并且在本地标记为非版本 [英] SVN externals not properly displayed in TortoiseSVN's Repository Browser and locally marked as non-versioned

查看:229
本文介绍了SVN外部未在TortoiseSVN的存储库浏览器中正确显示,并且在本地标记为非版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个(工作)项目中工作,该项目分散在无数(源)项目和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浏览器中,我只能看到所有外部链接之一.它似乎也有错误的覆盖图标(蓝色而不是红色箭头:

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:

但是不管怎么说,你是说如果我创建以下内容 文件夹并将其提交到^/_ all/文件夹,然后添加 它们各自的外部(而不是_all/文件夹) 直接),这行得通吗?

But regardless of that, are you saying that if I create the following folders and commit them to the ^/_all/ folder, and then add the respective externals to them (instead of to the _all/ folder directly), it would work?

在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的存储库浏览器中正确显示,并且在本地标记为非版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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