使用 Xcode 4 Subversion 与自定义端口集成? [英] Use Xcode 4 subversion integration with custom port?

查看:26
本文介绍了使用 Xcode 4 Subversion 与自定义端口集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须连接到我的工作场所的颠覆.ip 在特定端口上打开.我尝试从我的 Win 7 笔记本电脑连接 Tortoise,它工作得很好,所以我猜 subversion 服务器和存储库没问题.

I have to connect to my workplace's subversion. The ip is open on a specific port. I have tried to connect with Tortoise from my Win 7 laptop and it works just fine, so I guess the subversion server and repository is all right.

当我将 IP 插入 subversion 服务器时,Xcode 4 中的 Repository-wizard 说它可以连接(到服务器).但是当我将自定义端口号放在:"之后时,它无法从颠覆中检出.

When ever I insert the IP to the subversion server the Repository-wizard in Xcode 4 says it can connect (to the server). But when ever I put the custom port number after with ":" between it cant checkout from subversion.

我要连接的网址是:xxx.xxx.xxx.xxx:xxxx

The url I want to connect to is: xxx.xxx.xxx.xxx:xxxx

IP 应该可以工作,因为它说主机可访问",但指定端口后,向导会说主机不可访问".

The Ip only should work since it says "Host is reachable", but with the port specified the wizard says "Host is unreachable".

想到 Apple 只在默认端口上进行了 subversion 集成,我感到很害怕.- 那只是典型的苹果.

I'm terrified with the thought that Apple only made the subversion integration work on default port. - Thats just typical Apple.

关于如何使用特定端口连接到 subversion 的任何想法.

Any ideas please, on how to connect to subversion using a specific port.

推荐答案

我遇到了几乎同样的问题,除了我的 URL 的任何部分都无法获得主机可访问"消息.我找到了几个可能的原因和几个解决方案,例如:

I experienced almost the same problem, excepting that I even could not get "Host is reachable" message with any part of my URL. I found several possible reasons and several solutions, such as:

  • XCode 发送本地用户凭据,SVN 无法授权用户;您应该尝试在没有凭据的情况下从终端执行任何 svn 命令,并在询问时输入正确的命令;
  • XCode 无法在自定义端口上与 SVN 一起使用;您应该将 SVN 端口更改为默认值;

但没有一个对我有用.但最后我设法让事情顺利进行.您只需要在 hosts 中为您的 IP 创建一个别名,并在 URL 中使用该别名而不是 IP.您可以找到有关如何制作别名的综合手册 这里. 最后我的 URL 看起来像 http://svnserver:8080/svn/... 一切正常.

But none of them worked for me. But finally I managed to get things work. You just need to create an alias for your IP in hosts and use that alias in URL instead of IP. A comprehensive manual of how to make aliases you can find here. At the end my URL looked like http://svnserver:8080/svn/... and everything works just fine.

祝你好运!

这篇关于使用 Xcode 4 Subversion 与自定义端口集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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