Eclipse 不断设置错误的存储库根目录

发布于 2024-09-26 04:36:23 字数 1025 浏览 2 评论 0原文

我这里有一个项目:

svn+ssh://[email protected] /folder/ProjectName

存储库根目录为 svn+ssh://[email protected]/folder

无论我尝试检查 ProjectName 有多少次或有多少种方式,eclipse 总是会帮助我告诉我存储库根目录是 svn+ssh://[电子邮件受保护]

我在另一个存储库中有另一个项目:

svn+ssh://[email protected]/repos/OtherProject

Eclipse 正确地将存储库根识别为 svn+ssh://[email  ;protected]/repos/

svn 存储库或 Eclipse 中的哪些设置会导致差异?

我正在使用 JavaHL (JNI) 和 Eclipse Helios。

I have a project here:

svn+ssh://[email protected]/folder/ProjectName

The repository root is svn+ssh://[email protected]/folder

No matter how many times or how many ways I try checking out ProjectName, eclipse always helpfully tells me that the repository root is svn+ssh://[email protected].

I have another project in another repository:

svn+ssh://[email protected]/repos/OtherProject

Eclipse correctly identifies the repository root as svn+ssh://[email protected]/repos/

What settings, either in the svn repository or in Eclipse, would account for the discrepancy?

I am using JavaHL (JNI) and Eclipse Helios.

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

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

发布评论

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

评论(1

尾戒 2024-10-03 04:36:23

通过一个不起眼的邮件列表帖子找到了解决方案:
http://svn.haxx.se/subusers/archive-2005-10 /0103.shtml

实际上,该信息存储在
工作区文件夹
.metadata/.plugins/org.tigris.subversion.subclipse.core

org.tigris.subversion.subclipse.ui。我
不建议修改这些
文件,因为有些是二进制的
信息。相反,你可以尝试
删除文件(或保存在另一个
地点)。然后 Eclipse 就会知道
没有关于 SVN 位置的信息。你可以
然后输入你正确的存储库
再次。它应该映射现有的
项目到新地点。

我跑了`

rm -rf workspace/.metadata/.plugins/org.tigris.subversion.subclipse.*

,就成功了!

Found the solution , via an obscure mailing list post:
http://svn.haxx.se/subusers/archive-2005-10/0103.shtml

Actually, the information is stored in
the workspace folders
.metadata/.plugins/org.tigris.subversion.subclipse.core
and
org.tigris.subversion.subclipse.ui. I
do not recommend to modify these
files, because some have binary
information. Instead, you could try to
delete the files (or save at another
location). Eclipse will then know
nothing about SVN locations. You can
then enter your correct repository
again. It should map the existing
projects to the new location.

I ran `

rm -rf workspace/.metadata/.plugins/org.tigris.subversion.subclipse.*

and that did the trick!

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