User Tools

Site Tools


hgk:scm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
hgk:scm [2014/07/29 16:29] – [Subversion] michfielhgk:scm [2015/11/17 12:41] (current) – removed michfiel
Line 1: Line 1:
-====== 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 
-<code> 
-// $Header$ 
-// $Log$ 
-</code> 
- 
-  * 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:\\ 
-{{hgk:bildschirmfoto_2012-05-11_um_2.23.33_pm.png?direct&200|}} 
- 
-The Xcode way:\\ 
-{{hgk:bildschirmfoto_2012-05-11_um_12.08.10_pm.png?direct&200|}} 
- 
-===== Subversion ===== 
- 
-[[http://kau-boys.de/1296/webserver/ordnerstruktur-eines-svn-repositories-richtig-aufsetzen 
-]] 
-<code> 
-ssh fiasko@kudu.in-berlin.de 
-svnadmin create $HOME/svnroot/repos 
-svn mkdir -m "mkdir" svn+ssh://kudu.in-berlin.de/home/user/fiasko/svnroot/repos/trunk 
-svn import -m "First Import" hgk svn+ssh://kudu.in-berlin.de/home/user/fiasko/svnroot/repos/trunk/ 
-svn list svn+ssh://kudu.in-berlin.de/home/user/fiasko/svnroot/repos 
-svn co svn+ssh://fiasko@kudu.in-berlin.de/home/user/fiasko/svnroot/repos/trunk hgk 
-</code> 
- 
-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 
- 
-{{:hgk:bildschirmfoto_2012-05-11_um_3.41.59_pm.png?direct&200|}} 
- 
-  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.1406644145.txt.gz · Last modified: 2014/07/29 16:29 by michfiel