User:FeralKitty/Local/SVN stuff

From PinataIsland.info, the Viva Piñata wiki
< User:FeralKitty
Revision as of 03:41, 17 March 2012 by FeralKitty (talk | contribs) (Tag a specific version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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"