带有 Windows 客户端的 Ubuntu Subversion
我在 Ubuntu 服务器上安装了 subversion,并且可以在 Ubuntu 上的 Eclipse Helios 中使用 subclipse (1.6),并且工作正常。
但是,当我尝试在 Windows 上的 Eclipse Helios 中使用 Subclipse (1.6) 时,它不起作用并且出现错误。
在 Windows 中,当我使用 http://serverAddress/svn
时,我收到一条错误消息,指出文件夹不存在,并且控制台中出现错误消息:
Repository has been moved
svn: Repository moved permanently to 'http://serverAddress/svn/'; please relocate
当我使用 svn://serverAddress/ 时svn
,我也遇到了一个问题。
有人有什么想法吗?
I installed subversion on my Ubuntu server and I can use subclipse (1.6) in Eclipse Helios on Ubuntu and it works fine.
However when I try and use Subclipse (1.6) in Eclipse Helios on Windows, it doesn't work and I get errors.
In Windows when I use http://serverAddress/svn
, I get an error saying folder doesn't exist and an error in the console saying:
Repository has been moved
svn: Repository moved permanently to 'http://serverAddress/svn/'; please relocate
When I use svn://serverAddress/svn
, I get an issue as well.
Does anyone have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不是 Eclipse 问题,而是 SVN 问题。
如果您可以在 Web 浏览器中看到您的存储库,SVN 常见问题解答会提到 httpd。配置错误。但就您而言:
您还没有创建存储库(请参阅
svnadmin create
)或者你有一个存储库,但还没有在其中正确创建目录,有点像这个线程:
解决方案是:
如果这还不够,另请参阅SO问题< /a>,其中提到存储库地址通常是
http://servername/svn/repositoryname
,而不是http://servername/svn
。This is not an Eclipse issue, but a SVN issue.
If you could see your repo in a web browser, the SVN FAQ mentions an httpd.conf error. But in your case:
either you haven't created a repository yet (see
svnadmin create
)or you have a repo, but haven't create properly a directory in it, a bit like in this thread:
With the solution being:
If this is not enough, see also this SO question, where it mentions that the repository address is usually
http://servername/svn/repositoryname
, nothttp://servername/svn
.