Xcode SVN configuration

Source: Internet
Author: User

Xcode SVN configuration
Edit ~/.subversion/config File
Note: If the ". Subversion" Directory does not exist, run the "SVN status" command, although this command will fail, but will create the required files for you.
Open ~/.subversion/config file

1. Find the Global-ignores line, remove the comment, edit it into
global-ignores = Build *~.nib *.so *.pbxuser *.mode *.perspective*
some files in the Xcode project file are text files that need to be told to SVN because SVN can better manage text files (who knows who)
2. Locate Enable-auto-props = yes to remove the comment and declare the following text file in the [Auto-props] section
*.mode* = Svn:mime-type=text/x-xcode
*.pbxuser = Svn:mime-type=text/x-xcode
*.perspective* = Svn:mime-type=text/x-xcode
*.pbxproj = Svn:mime-type=text/x-xcode

To create a version library
(1) to the place where you need to store the repository (e.g. home directory), build a repository named Svnrep
$ svnadmin Create Svnrep
(2) Import content to Repository
$ mkdir Test
$ touch Test/test. TXT (Create a demo directory)
SVN import Test http://s1.e-linkway.com/svn/iphone_class-m "Initial import"

(3) Create a copy of the repository
$ svn Checkout file:///Users/your_user_name/SVNrep/test test-copy (creates a test-copy named copy)
(4) Post-Amendment submission
$ svn commit-m "Added some text"
(5) Some of the relevant SVN commands
$ SVN status (view status)
$ svn update (to update)
$ svn log (view log)
$ svn diff-r 1 (1 for version number, view the difference from one version)
$ svn update-r 1 (update to a version)
$ svn Add test2.txt (add a file to the repository)
$ svn Delete test2.txt (delete a file from the repository) (Note: Add from Repository, delete and rename must have SVN command, otherwise SVN will not track these changes)
Add svn path in Origanizer-repositories

Questions:
version
when modifying the open ~/. subversion/config file, Enable-auto-props = yes to remove the comment, the result is that there is no deletion of the space, there will be optional expected and other errors, unable to create a successful
After you delete the space, it's no problem.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Xcode SVN configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.