Subversion a free and open source version control system

Source: Internet
Author: User
Keywords Version control system through open source can change
Tags access aliyun allowing users change control control system create data

Subversion is a free, open source http://www.aliyun.com/zixun/aggregation/9591.html "> version control system. Under Subversion Management, files and directories can transcend time and space. Subversion stores files in a central version library. This version library is very much like a normal file server, and it can record every file and directory modification. This allows you to revert the data to a previous version and view the details of the changes to the data. Because of this, many people use the version control system as a magical "time Machine".

The Subversion version Library can be accessed over the network, allowing users to operate on different computers. In a way, allowing users to modify and manage the same set of data in their own space can facilitate teamwork. Because the modification is no longer a single line (the single line is the one that must be carried out), the development progress will be rapid.  In addition, because all of the work has been versioned, there is no need to worry about the quality of the software due to faulty changes-if there is an incorrect change, just undo the change. Subversion installation
Some version control systems themselves are software configuration Management systems (SCM) that are cleverly designed to manage the source tree and have many features related to software development-for example, support for programming languages, or provider building tools. But subversion is not such a system. It is a general-purpose system that can manage any type of file set.

Install Subversion

sudo apt install subversion subversion-tools

To create a new repository:

Svnadmin create/svn/repository

Create a new empty repository in the/SVN directory, using the default Berkeley DB for data storage.

Import your source code:

SVN import/svn/repository File:///data/ldap

Import the entire directory of/DATA/LDAP into the repository directory in the repository, and the repository directory of the repository is automatically created. Display Repository Contents:

mt@mtmt:~$ SVN list File:///svn/repository
. cache/
. Project
. projectoptions
. settings/
bbscnmo/
newcnmo/

Displays the contents of the catalog, successfully imported.

It uses a file:///-form URL to access the Subversion library, which means that it is accessed locally through the file system. But our subversion library may need to be accessed by other users over the network, which requires other protocols, the following table is the various access protocols that Subversion supports:

Access Protocol Protocol access method

file:///through local disk access.
http://with Apache, accessed via WebDAV protocol.
https://ditto, but supports SSL protocol cryptographic connections.
SVN://protocol access that is customized through the Svnserve service.
svn+ssh://ditto, but encrypts the connection through the SSH protocol.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.