Svn for users

From OctopusWiki
Revision as of 17:55, 5 June 2014 by Dstrubbe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

(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.1.x series) can be checked out using

svn co http://www.tddft.org/svn/octopus/branches/4.1.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.