现有项目的颠覆团队份额

发布于 2024-11-06 14:20:39 字数 811 浏览 8 评论 0原文

我知道这个问题已经被问过几次了,但我对团队有一些不清楚 ->共享项目对话框。抱歉重发了:)

所以我有一堆已经由 svn 管理的项目(存在 svn 目录),我通过新项目对话框将它们导入到 Eclipse 中。一切正常。

使用共享项目向导时,我选择 SVN 提供程序、存储库,然后执行以下两个步骤,进入可怕的“输入提交注释”对话框。现在我不希望插件进行提交或对存储库进行任何修改。

我尝试使用另一个具有只读访问权限的存储库来执行此操作,并在 MKACTIVITY 操作上收到 405 错误。

我尝试使用 Subclipse,它只是随意地告诉我该项目存在于存储库中,并且现在将链接它,非常感谢。

根据其他答案,Subversion 中也有类似的功能,所以我的问题是:

  • 当 Subclipse 检测到项目存在时,共享项目向导的步骤是否有所不同?如果没有,有什么方法可以知道吗?

  • 我们是否只需完成提交,取消选中每个文件,并祈祷插件不会添加任何内容?

    我们

精度

  • 在SVN常规设置中勾选了“启用自动项目共享”选项。
  • 我可以使用 subclipse,但我只是好奇如何在 subversive 中做到这一点,而且我不喜欢仅仅因为无法弄清楚共享项目对话框就更改插件的想法:)
  • 项目中有文件不在 svn 中管理,因此结帐不是一个简单的选择。它们是相当大的项目,有 8 个。
  • 通常 svn 操作是用 TortoiseSVN 处理的,但我们使用 eclipse 插件进行历史/比较

非常感谢!

I know this question has been asked a couple of times, but there's something that's not clear to me about the Team -> Share project dialog. Sorry about the repost :)

So I have this bunch of projects that are already managed by svn (svn directories are present) that I imported in Eclipse through the new project dialog. Everything works fine.

When using the Share project wizard, I select the SVN provider, the repository, and I go through the two following steps to a dire "Enter a commit comment" dialog. Now I don't want the plugin to make a commit, or any modification to the repository.

I tried to do this with another repo where I have read only access and got a 405 on an MKACTIVITY operation.

I tried with Subclipse, and it just casually tells me that the project is present on the repository and that it will now link it, thank you very much.

According to other answers there is a similar functionality in Subversion, so my questions are :

  • Are the steps of the share project wizard different in Subclipse when he detects that the project exists ? If not is there any way to know that ?

  • Do we just go through the commit, unchecking every file, and praying that the plugin doesn't svn add anything ?

Precisions

  • The "enable automatic project share" option is ticked in the SVN General settings.
  • I could use subclipse, but I'm just curious about how to do it in subversive, and I don't like the idea of changing plugins just because I couldn't figure out the share project dialog :)
  • There are files in the projects that are not managed in svn, so checkout is not an easy option. They are quite huge projects and there's 8 of them.
  • Usually the svn operations are handled with TortoiseSVN, but we use the eclipse plugin for history / comparisons

Thanks a lot !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

池予 2024-11-13 14:20:39

这个重复出现的问题的唯一问题是您的 svn 客户端的版本不同。

Tortoise svn 使用他自己的 svn 可执行文件。 Subversive 使用他自己的 svn 可执行文件,而命令行上的可执行文件又是另一个版本。

Subversive 无法读取新版本的 .svn 文件。因此,当您的 eclipse 的 SVN 版本是 ie 1.6 并且 eclipse 中的连接器是 1.5 时,subversive 将无法读取 .svn 文件。

关键是要根据版本来匹配不同的SVN实现。

The only problem with this re-occuring issue is the fact that the version of your svn clients is different.

Tortoise svn uses his own svn executable. Subversive uses his own svn executable and the executable on the command line is again, an other version.

Subversive cannot read .svn file of a new version. So when your SVN version of eclipse is i.e. 1.6 and your connector in eclipse is 1.5, subversive will not be able to read the .svn files.

The key is to match the different SVN implementations by version.

明天过后 2024-11-13 14:20:39

在答案中发布对我有用的内容,因为我遇到了同样的事情 - 尝试从文件系统上已由 TortoiseSVN 签出的工作副本中使用 Eclipse 内的 SVN 功能。我有一个包含 4 个子文件夹的根目录(每个子文件夹都是一个 Eclipse 项目)。在导入项目时,只有 3 个项目能够使用文件系统中包含的 SVN 信息。在我的例子中,有效的是删除不工作的项目并重新导入它(必须执行几次直到它起作用)

Posting what worked for me in an answer, as I was experiencing the same thing - trying to use SVN features inside eclipse from a working-copy already checked out by TortoiseSVN on the filesystem. I had a root directory with 4 sub-folder (each one an eclipse project). On import'ing the projects, only 3 of them managed to use the SVN info contained on the file system. What did work in my case was deleting the non-working project and re-importing it (had to do a couple times until it worked)

溺ぐ爱和你が 2024-11-13 14:20:39

我最近也发生过类似的事情。就我而言,罪魁祸首是 TortoiseSVN 和 Eclipse 中的 SVN Connector 之间的 SVN 客户端版本不同。您可以通过在 Eclipse 中选择 SVN Connector 版本来简单地解决此问题:

Window - Preferences ->团队-SVN-> SVN 连接器(选项卡)

Eclipse 设置中的屏幕快照

Something similar happened to me recently. For my case, the culprit was the different SVN client versions between TortoiseSVN and the SVN Connector in Eclipse. You can simply fix this by choosing the SVN Connector version in Eclipse:

Window - Preferences -> Team - SVN -> SVN Connector (Tab)

Screen Snaps in Eclipse Settings

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文