开发者

Eclipse keeps setting incorrect repository root

开发者 https://www.devze.com 2023-01-19 00:27 出处:网络
I have a project here: svn+ssh://svn@example.com/folder/ProjectName The repository root is svn+ssh://svn@example.com/folder开发者_如何学Python

I have a project here:

svn+ssh://svn@example.com/folder/ProjectName

The repository root is svn+ssh://svn@example.com/folder开发者_如何学Python

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://svn@example.com.

I have another project in another repository:

svn+ssh://svn@example.com/repos/OtherProject

Eclipse correctly identifies the repository root as svn+ssh://svn@example.com/repos/

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

I am using JavaHL (JNI) and Eclipse Helios.


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消