User Tools

Site Tools


hgk:scm

This is an old revision of the document!


Source Code Management

Creating a repository

cvs -d /home/user/fiasko/cvsroot init

SCM in Xcode

Source: http://yvod.com/ulan/cvs-iphone-xcode

  • Create a new project
  • Add the following two lines of code in the header for the main AppDelegate.h and AppDelegate.m
// $Header$
// $Log$
  • Save the project
  • In the top Xcode menu go to SCM/Repositories
  • Import the project folder
  • In Xcode, close the project (This is the important step)
  • In the Finder, delete the project folder (there is a bug that causes errors if you do not do this!)
  • Back in SCM/Repositories, Checkout the project folder (place it were you just deleted the old folder) and then open it
  • SCM/Configure SCM For This Project – At the very bottom – SCM Repository: MP1
  • SCM/Configure SCM For This Project – At the very bottom -Rebuild Code Sense Index

That’s it! Now all changes to the project will be tracked. We have not figured out how to track .xib changes yet.
Right click the individual filename or the entire project when you want to “Commit Changes”.

ssh fiasko@kudu.in-berlin.de

CVS

Full path (alt): /home/user/fiasko/websites/cvsroot

Full path: /home/user/fiasko/cvsroot

Authentication: ssh
Path: /cvsroot
Host address: kudu.in-berlin.de
User name: fiasko

MacCvs Preferences Dialog:

The Xcode way:

Subversion

Neues Repository erstellen:

svnadmin create ~/svn

Hierarchie fürs Projekt “12decode” erzeugen:

svn mkdir --parents -m "First Import" file:///home/user/fiasko/svn/12decode/trunk file:///home/user/fiasko/svn/12decode/tags file:///home/user/fiasko/svn/12decode/branches

Authentication: svn+ssh
Path: /home/user/fiasko/svn
Host address: kudu.in-berlin.de
User name: fiasko

svn+ssh:fiasko@kudu.in-berlin.de/home/user/fiasko/svn

hgk/scm.1406644099.txt.gz · Last modified: 2014/07/29 16:28 by michfiel