User Tools

Site Tools


code:svn

Differences

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

Link to this comparison view

Next revision
Previous revision
code:svn [2015/11/19 15:01] – created michfielcode:svn [2020/11/26 09:36] (current) – [Client Software] michfiel
Line 1: Line 1:
-====== Source Code Management ======+===== Subversion =====
  
- +==== Server Setup ====
-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 [[http://kau-boys.de/1296/webserver/ordnerstruktur-eines-svn-repositories-richtig-aufsetzen
Line 65: Line 14:
 </code> </code>
  
-Neues Repository erstellen: 
-  svnadmin create ~/svn 
 Hierarchie fürs Projekt "12decode" erzeugen: 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 +  svn mkdir --parents -m "First Import" file:///home/user/fiasko/svnroot/repos/trunk file:///home/user/fiasko/svnroot/repos/tags file:///home/user/fiasko/svnroot/repos/branches
- +
-{{:hgk:bildschirmfoto_2012-05-11_um_3.41.59_pm.png?direct&200|}}+
  
-  Authentication: svn+ssh +==== Client Software ====
-  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+https://subversion.assembla.com/svn/svnx/html/index.html
  
 +Path für Xcode bzw. svnX:
 +  svn+ssh://fiasko@kudu.in-berlin.de/home/user/fiasko/svnroot/repos
code/svn.txt · Last modified: 2020/11/26 09:36 by michfiel