使用XCode 4.0在远程计算机上设置SVN存储库 [英] Setting up SVN repository on Remote machine with XCode 4.0

查看:85
本文介绍了使用XCode 4.0在远程计算机上设置SVN存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已遵循

I have followed the documentation to setup the SVN repository for existing project. I followed following steps:

mkdir branches
mkdir tags
mkdir trunk
cp -R /myProject /SVN_Master/trunk
svnadmin create myProject_svn
svn import trunk/myProject file:///SVN_Master/myProejct_svn -m "Initial import"

它现在已经建立了SVN存储库.我该如何结帐?当我尝试从XCode组织者中检出,给路径file:///SVN_Master/myProejct_svn时,它不起作用.我想念什么吗?

It has set up SVN repository now. How can I checkout this? It isn't working when I try to checkout from XCode organizer, give path file:///SVN_Master/myProejct_svn. Am I missing something?

如何为远程主机(我的服务器)设置相同的内容?我可以只在其中复制创建的本地存储库并使用该路径吗?

How could I setup the same thing for remote host(my server)? Can I just copy created local repository there and use that path?

谢谢.

推荐答案

对此进行了排序.不过这很烦人,因为苹果公司在这方面的文档没有任何意义.您应该遵循的简单步骤是

Got this sorted. It was annoying though as Apple's documentation on this doesn't made any sense. The simple steps you should follow is,

  1. 在远程Windows服务器上设置SVN存储库.我使用了 VisualSVN .我能够在几分钟内完成设置.
  2. 从MAC中,使用"svn co <​​a href="http://serverurl/svn/projectname" rel="noreferrer"> http://serverurl/svn/projectname localdir在终端中签出代码命令.
  3. 打开project.xcodeproj文件,它将尝试自动为您创建存储库.确保在询问时输入正确的用户名/密码.
  1. Setup the SVN repository on remote Windows server. I used VisualSVN. I was able to setup in couple of minutes.
  2. From MAC, checkout the code from terminal using "svn co http://serverurl/svn/projectname localdir" command.
  3. Open the project.xcodeproj file and it will try to create repository for you automatically. Make sure that you enter correct user/pass when asked for.

这篇关于使用XCode 4.0在远程计算机上设置SVN存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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