- 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
No edit summary |
|||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox software | {{Infobox software | ||
| description = 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). | | description = 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 | | developer = CollabNet, Elego, WANdisco | ||
| available on = | | available on = | ||
Line 6: | Line 6: | ||
| license = Apache License | | license = Apache License | ||
| website = [http://subversion.apache.org/ SVN homepage] | | website = [http://subversion.apache.org/ SVN homepage] | ||
}} | |||
== 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: | |||
{{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: | |||
{{Command|command = | |||
svn ci | |||
}} | |||
In order to update your local copy use the update command: | |||
{{Command|command = | |||
svn up | |||
}} | |||
Files and directories can be removed with | |||
{{Command|command = | |||
svn rm $filename | |||
}} | |||
and added with | |||
{{Command|command = | |||
svn add $filename | |||
}} | |||
With the command | |||
{{Command|command = | |||
svn help | |||
}} | |||
the help page of SVN is displayed. | |||
== Hazelhen special == | |||
To use svn on Hazelhen load the corresponding module | |||
{{Command | command = | |||
module load tools/svn | |||
}} | }} | ||
== See also == | == See also == | ||
* [[Software Development Tools, Compilers & Libraries]] | * [[Software Development Tools, Compilers & Libraries]] | ||
* [[HLRS GForge]] | |||
* [[Secure Shell ssh#ssh tunnel | ssh tunnel for svn]] | |||
== External links == | == External links == | ||
* [http://subversion.apache.org/ SVN homepage] | * [http://subversion.apache.org/ SVN homepage] | ||
* [http://svnbook.red-bean.com/ SVN Book] | |||
[[Category:Revision Control]] | [[Category:Revision Control]] |
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). |
|
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