用于在 Subversion 上创建本地存储库的 URL
我想通过 Aptana Studio 创建一个新的 Subversion 存储库。 Aptana SVN 插件和 Aptana Subversive 插件均已安装。我没有遵循要提供的 URL,因为我想在本地主机上创建存储库。
I want to create a new Subversion repository through Aptana Studio. Both Aptana SVN plugin and Aptana Subversive plugins are installed. I am not following what URL to give as I want to create the repository on localhost.
Please see this link: http://screencast.com/t/qVn3OvWqL
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您必须先创建存储库,然后才能从中签出。这与 DVCS 不同。所以要创造。通常插件无法创建存储库(因为您需要本地访问服务器)。
如果您有 TortoiseSVN,只需浏览到您的存储库所在的目录,根据您的情况:
如果您使用 TortoiseSVN:
如果您使用命令行:
如果您创建了存储库,您现在可以使用上述 URL 进行连接:
You must create the repository before you can checkout from it. This is a mdifference to DVCSes. So to create. Usually Plugins are not able to create repositories(as you need local access to server).
If you have TortoiseSVN just browse to the directory where your repository should be, in your case:
If you use TortoiseSVN:
If you use Commandline:
If you created the repository, you can now connect with the above mentioned URL:
通常,您可以在此处提供其他客户端(包括您的客户端)可以访问此存储库的 URL。
可以通过各种访问协议访问 SVN 存储库:
如果您有一个包含所有存储库的中央存储库位置,并且如果您想在同一位置创建存储库,则可以单击浏览按钮。它将帮助您查看 SVN 管理员使用的存储库根目录。
但是如果这是一个私有存储库并且您想在自己的本地主机上创建它,请尝试 file:/// 协议。指定的方式是这样的 - file:///d:/mysvndir/rohit_repo
Normally this is where you provide the url via which other clients (including yours) can access this repository.
SVN repositories can be accessed via various access protocols:
If you have a central repository location where all your repo's are located, and you want to create your repo in the same location, then you can click on the browse button. It will help you see the repository root used by your SVN administrator.
BUt if this is a private repository and you want to create it on your own local host, try the file:/// protocol.The way to specify is this - file:///d:/mysvndir/rohit_repo
我遇到了同样的问题,发现 svn 连接器的版本确实很重要。
在我的 Mac 上,这意味着进入 Eclipse >首选项>团队> SVN
然后在“SVN 连接器”选项卡内,我选择了“SVNKit 1.3.5 r7406(适用于 SVN 1.6.15,所有平台)”连接器并点击“应用”。
这为我解决了这个问题,默认情况下它位于 SVN 1.5.6 版本,如果您刚刚安装了 SVN,您可能不在那个较旧的分支/版本上。
确保连接器版本与您安装的 SVN 版本匹配。
I had this same problem and found that the version of the svn connector DOES matter.
On my Mac it meant going into
Eclipse > Preferences > Team > SVN
And then inside of the "SVN Connector" tab I selected the "SVNKit 1.3.5 r7406 (for SVN 1.6.15, all platforms)" connector and hit "apply".
This fixed it for me, by default it was on the SVN 1.5.6 version which if you just installed SVN you are likely not on that older branch/release.
Make sure the connector version matches the version of SVN you have installed.