Difference between revisions of "User:FeralKitty/Local/SVN stuff"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
(New page: __NOTOC__ __NOEDITSECTION__ == Add project to Subversion for Xcode 4 == ==== Create a temporary copy of the project ==== Create a folder to hold a temporary copy of the project. In that ...)
 
(Tag a specific version)
 
Line 22: Line 22:
  
 
:<pre>svn co --force file:///Users/kathryn/Subversion/PVCreatorHD/trunk .</pre>
 
:<pre>svn co --force file:///Users/kathryn/Subversion/PVCreatorHD/trunk .</pre>
 +
 +
==== Tag a specific version ====
 +
 +
:<pre>svn copy file:///Users/kathryn/Subversion/PVCreatorHD/trunk file:///Users/kathryn/Subversion/PVCreatorHD/tags/1.0 -m "Version 1.0 App Store distribution"</pre>

Latest revision as of 04:41, 17 March 2012


Add project to Subversion for Xcode 4

Create a temporary copy of the project

Create a folder to hold a temporary copy of the project. In that folder, create three additional folders named branches, tags, and trunk.

$ cd tmp; mkdir PVCreatorHD PVCreatorHD/branches PVCreatorHD/tags PVCreatorHD/trunk

Copy the existing project into the trunk folder using the command line or the Finder.

Use svn to import the project into the repository and place it under Subversion source control.

$ svn import . file:///Users/kathryn/Subversion -m $'New PVCreatorHD project.\nImport files for MasterDetail (SplitView) iPad application template'

Turn the existing project into a working copy

Change directory to the location of the existing Xcode project.

Force a checkout of the project from the repository to turn the existing project into a working copy.

svn co --force file:///Users/kathryn/Subversion/PVCreatorHD/trunk .

Tag a specific version

svn copy file:///Users/kathryn/Subversion/PVCreatorHD/trunk file:///Users/kathryn/Subversion/PVCreatorHD/tags/1.0 -m "Version 1.0 App Store distribution"