Difference between revisions of "Svn for users"

From OctopusWiki
Jump to: navigation, search
m (spelling)
Line 13: Line 13:
 
=== Check out a branch ===
 
=== Check out a branch ===
  
You can also checkout the stable version of octopus. For instance the soon-to-be-stable version (the 2.1.x series) can be checked out using
+
You can also checkout the stable version of octopus. For instance the latest stable version (the 4.0.x series) can be checked out using
  
  svn co http://www.tddft.org/svn/octopus/branches/2.1.x
+
  svn co http://www.tddft.org/svn/octopus/branches/4.0.x
  
 
=== View differences ===
 
=== View differences ===

Revision as of 21:10, 25 May 2011

(anonymous) users may check out the trunk (latest development) or branch that was forked of the trunk to prepare for a release, or the same branch after the release for bugfixes.

Typical user workflow

Check out the subversion trunk (possibly unstable, latest development)

The trunk can be checked out as follows:

svn co http://www.tddft.org/svn/octopus/trunk

A usual mistake is that people often forget the trunk at the end and end up checking out all branches and tags.

Check out a branch

You can also checkout the stable version of octopus. For instance the latest stable version (the 4.0.x series) can be checked out using

svn co http://www.tddft.org/svn/octopus/branches/4.0.x

View differences

If you make a change and want to see what you changed use the following

$ svn diff
Index: README
===================================================================
--- README      (revision 2060)
+++ README      (working copy)
@@ -1 +1,2 @@
+Test
 Please refer to the manual in the doc directory for further information.

If you don't have commit privileges you can attach the output to a mail to octopus-devel.

More information

For further information on subversion check out

The latter is a migration guide for CVS users.