Difference between revisions of "Subversion"

From Open Babel
Jump to: navigation, search
m (Edited descriptions of subversion commands)
(Now using Git)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://subversion.tigris.org/ Subversion] is the name of the project used to maintain the Open Babel version control repository. There are many clients for Subversion, including command-line and GUI applications. For more links, see the [http://subversion.tigris.org/links.html Subversion website].
+
#Redirect [[Git]]
 
+
The following table suggests Subversion commands useful for Open Babel contributors. More documentation can be found in the [http://svnbook.red-bean.com/ Official SVN Manual].
+
 
+
{|border=1
+
| '''Subversion Command'''
+
| '''What it does'''
+
|-
+
| svn co https://svn.sourceforge.net/svnroot/openbabel/openbabel/trunk openbabel
+
| Check out the latest development version of Open Babel
+
|-
+
| svn co https://svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-0-x openbabel
+
| Check out the current stable branch (2.0.x) of Open Babel
+
|-
+
| svn update
+
| Update the current directory and subdirectories with any new changes
+
|-
+
| svn add ''filename''
+
| Add the file '''filename'' to the repository
+
|-
+
| svn remove ''filename''
+
| Remove the file ''filename'' (before a commit)
+
|-
+
| svn mv ''filename'' ''newname''
+
| Move/rename the file ''filename'' to ''newname''
+
|-
+
| svn commit
+
| Commit the changes to the central repository
+
|-
+
| svn diff
+
| Return a ''diff'' set of differences between the working copy and the central repository
+
|-
+
| svn co ''repo''/branches/foo openbabel
+
| Check out a branch named ''foo'' into the directory named ''openbabel''
+
|-
+
| svn switch ''repo''/branches/foo
+
| Switch the current working copy to a branch named ''foo''
+
|-
+
| svn copy ''repo''/branches/foo
+
| Create a branch named ''foo'' with the current working copy
+
|-
+
|}
+
 
+
[[Category:Contribute]]
+

Latest revision as of 10:25, 9 June 2013

Redirect to: