用于在 Subversion 上创建本地存储库的 URL

发布于 2024-08-09 10:34:19 字数 233 浏览 3 评论 0原文

我想通过 Aptana Studio 创建一个新的 Subversion 存储库。 Aptana SVN 插件和 Aptana Subversive 插件均已安装。我没有遵循要提供的 URL,因为我想在本地主机上创建存储库。

请参阅此链接:http://screencast.com/t/qVn3OvWqL

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

债姬 2024-08-16 10:34:19

您必须先创建存储库,然后才能从中签出。这与 DVCS 不同。所以要创造。通常插件无法创建存储库(因为您需要本地访问服务器)。

如果您有 TortoiseSVN,只需浏览到您的存储库所在的目录,根据您的情况:

d:\subversionrepository\prazact_website

如果您使用 TortoiseSVN:

right click on folder "prazact_website"  -> "TortoiseSVN" -> "create Repository here"

如果您使用命令行:

svnadmin create d:\subversionrepository\prazact_website

如果您创建了存储库,您现在可以使用上述 URL 进行连接:

file:///d:/subversionrepository/prazact_website

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:

d:\subversionrepository\prazact_website

If you use TortoiseSVN:

right click on folder "prazact_website"  -> "TortoiseSVN" -> "create Repository here"

If you use Commandline:

svnadmin create d:\subversionrepository\prazact_website

If you created the repository, you can now connect with the above mentioned URL:

file:///d:/subversionrepository/prazact_website
抹茶夏天i‖ 2024-08-16 10:34:19

通常,您可以在此处提供其他客户端(包括您的客户端)可以访问此存储库的 URL。
可以通过各种访问协议访问 SVN 存储库:

  1. svn (svn://)
  2. http (http://)
  3. 本地文件访问协议 (file:///)

如果您有一个包含所有存储库的中央存储库位置,并且如果您想在同一位置创建存储库,则可以单击浏览按钮。它将帮助您查看 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:

  1. svn (svn://)
  2. http (http://)
  3. local file access protocol (file:///)

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

小嗷兮 2024-08-16 10:34:19

我遇到了同样的问题,发现 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文