简体   繁体   English

如何从Eclipse重新连接SVN存储库

[英]How to reconnect with SVN repository from Eclipse

I installed CollabNet Subversion Server on my server and had been using it with Eclipse on my desktop for a long time. 我在服务器上安装了CollabNet Subversion Server,并在台式机上与Eclipse长期使用。 Through some Eclipse changes, my SVN client install was lost (the server was untouched). 通过一些Eclipse更改,我的SVN客户端安装丢失了(服务器未受影响)。 After re-installation of the SVN client plug-in, I am unable to re-connect my projects with the SVN repository; 重新安装SVN客户端插件后,我无法将我的项目重新连接到SVN信息库; I don't know the URL or anything. 我不知道网址或其他任何内容。

When I open "SVN Repository Browser" in Eclipse, right click and select New > Repository Location, It asks me for a URL. 当我在Eclipse中打开“ SVN存储库浏览器”时,右键单击并选择“新建”>“存储库位置”,它将要求我提供URL。 I have typed "file://machineName" and " http://machineName ", then the Browse... button, but I get " An error occurred while accessing the repository entry ". 我已经键入“ file:// machineName”和“ http:// machineName ”,然后单击“浏览...”按钮,但An error occurred while accessing the repository entry ”。 Since the server hasn't changed, and I see that svnserve.exe is listening on 3690, and httpd.exe on port 90, I presume there's more needed on the URL, but I don't know what that is. 由于服务器没有更改,并且我看到svnserve.exe在3690上侦听,并且httpd.exe在端口90上侦听,因此我认为URL上还需要更多,但是我不知道那是什么。

Resources available to use to recover the connection to the repository: 可用于恢复与存储库的连接的资源:

  • The .svn file in the project folder 项目文件夹中的.svn文件
  • The files on the server supporting the repository 支持存储库的服务器上的文件
  • svn.exe on the server (it says '.' is not a working copy when I tried a few commands). 服务器上的svn.exe(当我尝试一些命令时,它说'.' is not a working copy )。 I don't have svn.exe on the client machine. 我在客户端计算机上没有svn.exe。

Where should I look to see how to reconnect my projects with the CollabNet svn server? 我应该在哪里查看如何将项目与CollabNet svn服务器重新连接?

  1. Make sure the expected Eclipse SVN plugin is being used (subversive vs subclipse, etc). 确保正在使用预期的Eclipse SVN插件(颠覆性与子剪辑性等)。
  2. Try connecting with svn:// 尝试使用svn://连接

collabnet has its own plug-in try to install them from eclipse marketplace in Help menu. collabnet有其自己的插件,可以尝试从“帮助”菜单中的eclipse市场安装它们。

Check the repository name it should be 检查存储库名称应为

"http:// [Your_Machine_name] / svn / [Your_Repository_name]"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM