从我的在线存储库签出时出现 SVN 错误 (200 OK) [英] An SVN error (200 OK) when checking out from my online repository

查看:47
本文介绍了从我的在线存储库签出时出现 SVN 错误 (200 OK)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在主机上设置我的第一个存储库,但在使用 时出现此错误TortoiseSVN 来检查项目:

I'm trying to set up my first repository on my host and am getting this error when I use TortoiseSVN to checkout the project:

错误:'http://mywebsite.com/svn/myproject' 的选项:200好的 (http://mywebsite.com)

Error: OPTIONS of 'http://mywebsite.com/svn/myproject': 200 OK (http://mywebsite.com)

这是我所做的:

  1. SSH 进入我的主机并前往/home/myaccnt 和 'svnadmin create svn'

  1. Ssh into my host and head to /home/myaccnt and 'svnadmin create svn'

创建我的项目存储库:'svn mkdir svn/myproject'

Create my project repository: 'svn mkdir svn/myproject'

将文件添加到存储库:cd/home/myaccnt/.../myproject(其中包含/tags、/branch、/trunk);'svn import file:///home/myaccnt/svn/myproject'(此时可以看到正在添加的旧文件的大列表.)
在这一点上,我认为我已经设置了我的存储库并将我的项目导入到存储库中.所以,我准备在我的 Windows 机器上使用 TortoiseSVN 结帐.所以:

Add files to the repository: cd /home/myaccnt/.../myproject (which has /tags, /branch, /trunk); 'svn import file:///home/myaccnt/svn/myproject' (the big old list of files being added is seen at this point.)
At this point I think that I've setup my repository and imported my project into the repository. So, I'm ready to checkout using TortoiseSVN on my Windows box. So:

在我想要结帐的文件夹中,我右键单击并SVN Checkout,然后确保我的 URL 是:http://mywebsite.com/svn/myproject

In the folder I'd like to checkout to, I right click and SVN Checkout, and then make sure my URL is: http://mywebsite.com/svn/myproject

结果?

错误:'http://mywebsite.com/svn/myproject' 的选项:200好的 (http://mywebsite.com)

Error: OPTIONS of 'http://mywebsite.com/svn/myproject': 200 OK (http://mywebsite.com)

有人对我有什么想法吗?我可能遗漏了一些关于我的存储库或 htaccess 结构的基本内容......或其他东西.

Anyone have any thoughts for me? I'm likely missing something fundamental with the structure of my repository or htaccess... or something.

推荐答案

显然,这更像是我的房东的限制问题,我正在与他们合作解决.

Apparently, this is more a restriction issue by my host, and I am working with them to resolve it.

谢谢,1800.

顺便说一句,这里的答案是我的主机 A2 Web Hosting 要求使用 public_key 通过 SSH 处理 SVN,并在我的情况下配置 TortoiseSVN 来完成这项工作.对于只有一点设置密钥经验的人来说,这有点时髦,但一旦完成就非常令人满意!

BTW, the answer here was that my host, A2 Web Hosting, requires that SVN be handled via SSH using a public_key and configuring, in my case, TortoiseSVN to do the job. It was sort of funky for someone who has just a little experience setting up keys, but it was pretty satisfying once it was done!

您可以在 A2 主机的支持 wiki 中找到有关 SVN 的信息.

You can find information about SVN on the A2 host in their support wiki.

这篇关于从我的在线存储库签出时出现 SVN 错误 (200 OK)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆