Setting up SVN repository on Remote machine with XCode 4.0

天涯浪子 提交于 2019-12-24 11:12:28

问题


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"

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?

Thanks.


回答1:


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. 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.


来源:https://stackoverflow.com/questions/5963886/setting-up-svn-repository-on-remote-machine-with-xcode-4-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!