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