Eclipse-连接到 svn 存储库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15300216/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 20:07:41  来源:igfitidea点击:

Eclipse- connecting to svn repository

eclipsesvn

提问by zProgrammer

I downloaded the SVN plugin for eclipse and I am now having trouble connecting to the repository I need. I have the URL that I should be adding (it works on my school's computer). However I don't think it is doing what it should be. I included a picture that shows the pop up window when I try to add a new repository on eclipse. It is creating a folder inside of my eclipse folder in applications when I attempt to add this. The dialog on this window looks different than the one that comes up at school. This particular window will only let me select "file system"? I believe that is just creating this repository on my own computer? What do I need to do to connect to a remote repository?

我下载了 Eclipse 的 SVN 插件,但现在无法连接到我需要的存储库。我有我应该添加的 URL(它适用于我学校的计算机)。但是,我不认为它正在做它应该做的事情。我包含了一张图片,显示了当我尝试在 eclipse 上添加新存储库时的弹出窗口。当我尝试添加它时,它正在应用程序中的 eclipse 文件夹内创建一个文件夹。这个窗口上的对话看起来与学校里出现的不同。这个特定的窗口只会让我选择“文件系统”?我相信这只是在我自己的计算机上创建这个存储库?我需要做什么才能连接到远程存储库?

http://s23.postimage.org/e4s7iso7f/screen_capture.png<- pic here

http://s23.postimage.org/e4s7iso7f/screen_capture.png<-图片在这里

回答by arin

Please follow these steps:

请按照以下步骤操作:

  1. Window, Open Perspective
  2. Select "SVN Repository Exploring"
  3. Once you are there, if SVN Repositories is not showing, go to Window,Show view, and select "SVN Repositories"
  4. Now right click on the empty area of the SVN Repositories to have the context menu show up
  5. Select "Repository Location"
  6. Enter the URL and a label of your choice
  7. Enter username and password if necessary and click "Save authentication"
  8. Click Finish
  1. 窗户,开放的视角
  2. 选择“SVN存储库探索”
  3. 到达那里后,如果未显示 SVN 存储库,请转到窗口、显示视图,然后选择“SVN 存储库”
  4. 现在右键单击 SVN 存储库的空白区域以显示上下文菜单
  5. 选择“存储库位置”
  6. 输入您选择的 URL 和标签
  7. 如有必要,输入用户名和密码,然后单击“保存身份验证”
  8. 单击完成

I suspect that you are selecting "New Repository" instead of "Repository Location".

我怀疑您选择的是“新存储库”而不是“存储库位置”。