无法将项目分支检出到主 CVS Eclipse 项目中

发布于 2024-07-30 10:39:10 字数 375 浏览 1 评论 0原文

在我当前的开发环境中,我在 Eclipse 中有一个映射到 CVS 存储库的“主”项目。 在这个主项目中,我们可能有分支项目,但它们不是 Eclipse 中的“项目”,因为它们仍然驻留在我正在开发的主 Eclipse 项目中。

大约一个月前,我们更换了 CVS 服务器。 现在,我无法将新分支检出到现有 Eclipse 项目中。 在 Eclipse 对话框中,我过去期望“目标文件夹的父级”列表包含我的主项目(我将导航到分支文件夹在该主项目中所在的位置)。 但是,我仍然可以从主项目更新/提交到 CVS,因此我认为当我们切换 CVS 服务器时,连接已重新配置得很好。

知道是什么原因造成的吗?

抱歉,我不了解 CVS 的具体细节,并且可能会理解一些术语不正确。

In my current development environment, I have a "main" project in Eclipse that maps to a CVS repository. Within this main project, we might have branched projects, but they're not "projects" in terms of Eclipse, as they still reside within the main Eclipse project I'm developing.

About a month ago, we switched CVS servers. Now, I can't check out new branches into my existing Eclipse project. In the Eclipse dialog, I used to expect the "Parent of target folder" list to contain my main project (which I would navigate through to where the branched folder is located within that main project). However, I can still update/commit to CVS from the main project, so I think the connection was reconfigured fine when we switched CVS servers.

Any idea what might be causing this?

Sorry for not knowing the gritty details of CVS and probably getting some of the terminology incorrect.

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

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

发布评论

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

评论(1

岁吢 2024-08-06 10:39:10

在一些Eclipse帮助文档中发现以下引用:

注意:只有非共享项目中的文件夹或与所选远程文件夹相同的 CVS 存储库共享的项目才是签出到操作的有效目标。 另外,如果操作的目标项目是非共享项目,则该项目将连接到 CVS 存储库(即该项目将成为共享 CVS 项目),但任何预先存在的内容将被忽略。

CVS 根文件的配置如下:

:extssh;username=OMITTED;hostname=cvs.OMITTED.net:/home/cvs

在执行更新等 CVS 任务时仍然有效。 但是,Eclipse 的 CVS 插件无法将其与我的存储库连接相匹配,因为 Eclipse 中的连接字符串实际上是预期的:

:extssh:[email protected]:/home/cvs

只需在我的所有 CVS 配置文件中运行批量查找和替换,以便“签入现有项目”会工作。

Found the following quote in some Eclipse help documentation:

Note: Only folders within non-shared projects or projects shared with the same CVS repository as the selected remote folder are valid targets for the Checkout Into operation. Also, if the target project of the operation is an unshared project, the project will be connected to the CVS repository (i.e. the project will become a shared CVS project) but any pre-existing content will be ignored.

The CVS Root files were configured like:

:extssh;username=OMITTED;hostname=cvs.OMITTED.net:/home/cvs

Which still worked when performing CVS tasks like updating. However, Eclipse's CVS plugin wasn't able to match it up to my repository connection because the connection string in Eclipse was actually expecting:

:extssh:[email protected]:/home/cvs

Just ran a mass find and replace in all of my CVS config files so that the "check into existing project" would work.

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