无法使用 Eclipse 3.4.0、svn 1.5.1 创建 subversion 存储库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33990/
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
Can't create a subversion repository with Eclipse 3.4.0, svn 1.5.1
提问by casper
I'm working on mac OS x 10.4. I have a subversion repository stored on an external drive connected via USB. I created a new python project in Eclipse(using the PyDev plugin). When I use right click Team->Share Projectto set up a new project with subversion, I get the following error:
我正在处理mac OS x 10.4。我在通过 USB 连接的外部驱动器上存储了一个 subversion 存储库。我在Eclipse(使用 PyDev 插件)中创建了一个新的 python 项目。当我使用右键单击Team->Share Project以使用 subversion 设置新项目时,出现以下错误:
Error while creating module: org.tigris.subversion.javahl.ClientException: Couldn't open a repository
svn: Unable to open ra_local session to URL
svn: Unable to open repository 'file:///Volumes/svn-repos/Palindrome/Palindrome'
The subversion repository has the following permissions:
subversion 存储库具有以下权限:
drwxrwxrwx 9 cameronl cameronl 306 Aug 23 10:08 svn-repos
The external drive is formatted as Mac OS extended
外部驱动器被格式化为 Mac OS 扩展
I'm completely stumped. Anybody have any suggestions?
我完全被难住了。有人有什么建议吗?
采纳答案by David Crow
Try adding the repository first using the "SVN Repository Exploring" perspective (Window > Open Perspective > Other... > SVN Repository Exploring).
尝试首先使用“SVN Repository Exploring”透视图(Window > Open Perspective > Other... > SVN Repository Exploring)添加存储库。
Make sure that the URL you are using points to the correct directory, which typically contains these default repository files:
确保您使用的 URL 指向正确的目录,该目录通常包含以下默认存储库文件:
conf/ dav/ db/ format hooks/ locks/ README.txt
Hope this helps.
希望这可以帮助。

