- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

SVN: Difference between revisions

From HLRS Platforms
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
== Usage ==
== Usage ==
The online home of [http://svnbook.red-bean.com/ Version Control with Subversion] provides detailed information about all SVN commands. You can checkout your SVN project like this:
The online home of [http://svnbook.red-bean.com/ Version Control with Subversion] provides detailed information about all SVN commands. You can checkout your SVN project like this:
svn co --username $username https://svn.gforge.hlrs.de/svn/$projectname $path
{{Command|command =
svn co --username $username https://svn.gforge.hlrs.de/svn/$projectname $path
}}
If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this:
If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this:
svn ci
{{Command|command =
svn ci
}}
In order to update your local copy use the update command:
In order to update your local copy use the update command:
svn up
{{Command|command =
svn up
}}
Files and directories can be removed with  
Files and directories can be removed with  
svn rm $filename
{{Command|command =
svn rm $filename
}}
and added with
and added with
svn add $filename
{{Command|command =
svn add $filename
}}
With the command
With the command
svn help
{{Command|command =
svn help
}}
the help page of SVN is displayed.
the help page of SVN is displayed.


== Cray XT5m special ==
== Hazelhen special ==


To use svn on the Cray XT5m load the corresponding module
To use svn on Hazelhen load the corresponding module
{{Command | command =
{{Command | command =
module load subversion
module load tools/svn
}}
}}



Latest revision as of 14:40, 6 April 2016

In software development, Subversion (SVN) is a version-control system initiated in 1999 by CollabNet Inc. Developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS).
Developer: CollabNet, Elego, WANdisco
Platforms:
Category: Revision Control
License: Apache License
Website: SVN homepage


Usage

The online home of Version Control with Subversion provides detailed information about all SVN commands. You can checkout your SVN project like this:

svn co --username $username https://svn.gforge.hlrs.de/svn/$projectname $path

If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this:

svn ci

In order to update your local copy use the update command:

svn up

Files and directories can be removed with

svn rm $filename

and added with

svn add $filename

With the command

svn help

the help page of SVN is displayed.

Hazelhen special

To use svn on Hazelhen load the corresponding module

module load tools/svn


See also

External links