Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
lirec:version_control_guide [2009-02-04 17:14] davegriffithslirec:version_control_guide [2009-02-04 18:18] davegriffiths
Line 40: Line 40:
  
 =====SVN Basics===== =====SVN Basics=====
 +
 +Firstly install svn using your favorite package manager, or get it from here: [[http://subversion.tigris.org/]].
  
 I've set up the lirec svn repository with a dummy project called 'sandbox' that you can play with and break to your heart's content. This guide is written for the commandline version of svn, and heavily biased towards linux. If you prefer buttons to press, read through this document anyway as the concepts are the same, and then have a look at [[http://tortoisesvn.tigris.org/|Tortoise SVN]] or [[http://subclipse.tigris.org/|SubClipse]] if you use Eclipse or [[http://www.visualsvn.com/|VisualSVN]] if you use VisualStudio. [TODO - update this with a guide for using these systems.] I've set up the lirec svn repository with a dummy project called 'sandbox' that you can play with and break to your heart's content. This guide is written for the commandline version of svn, and heavily biased towards linux. If you prefer buttons to press, read through this document anyway as the concepts are the same, and then have a look at [[http://tortoisesvn.tigris.org/|Tortoise SVN]] or [[http://subclipse.tigris.org/|SubClipse]] if you use Eclipse or [[http://www.visualsvn.com/|VisualSVN]] if you use VisualStudio. [TODO - update this with a guide for using these systems.]
Line 54: Line 56:
  
 <code>svn checkout svn+ssh://yourlogin@svn.lirec.eu</code> <code>svn checkout svn+ssh://yourlogin@svn.lirec.eu</code>
-Obviously replacing "yourlogin" with your lirec website login. The username is required so svn knows who changed what. Read-only anonymous access is also available.+Replace "yourlogin" with your lirec website login. The username is required so svn knows who changed what. Read-only anonymous access is also available.
  
 ====Make some changes==== ====Make some changes====
Line 91: Line 93:
 This will diff the entire sourcecode, and print out a list of changes it found. You can also specify individual files to diff too. There are utilities which read the output of this command and display it graphically if it's helpful, but you don't generally need them for small changes. This will diff the entire sourcecode, and print out a list of changes it found. You can also specify individual files to diff too. There are utilities which read the output of this command and display it graphically if it's helpful, but you don't generally need them for small changes.
  
 +======More Information======
 +
 +  * Version Control with Subversion: A complete online book: [[http://svnbook.red-bean.com/]]
  
  • lirec/version_control_guide.txt
  • Last modified: 2009-02-09 11:01
  • by 81.188.78.24