开发者

Use Xcode 4 subversion integration with custom port?

开发者 https://www.devze.com 2023-02-26 19:40 出处:网络
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

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.

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.

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

The Ip only should work since it says "Host is reachable", but with the port specif开发者_高级运维ied the wizard says "Host is unreachable".

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

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


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 sends local user's credentials and SVN cannot authorize user; You should try to execute any svn command from terminal with no credentials and, when it asks, enter right ones;
  • XCode cannot work with SVN on custom port; You should change SVN port to default;

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.

Good luck!


for svn im using SCplugin http://scplugin.tigris.org/ that works great.

0

精彩评论

暂无评论...
验证码 换一张
取 消