Home  >  Article  >  Development Tools  >  What exactly does svn do?

What exactly does svn do?

藏色散人
藏色散人Original
2022-01-04 11:15:5813824browse

svn is an open source version control system. Through the efficient management of the branch management system, in short, it is used for multiple people to jointly develop the same project, realize shared resources, and achieve the final centralized manage.

What exactly does svn do?

The operating environment of this article: Windows 7 system, Subversion version 1.9.7, Dell G3 computer.

What does svn do?

Apache Subversion (SVN, svn for short) is an open source version control system. Compared with RCS and CVS, it A branch management system is adopted, and its design goal is to replace CVS. Many version control services on the Internet have been moved from CVS to Subversion.

Features

  • Unified version number. CVS sequentially arranges version numbers for each file, and the version numbers of each file at a certain time are different. Under Subversion, any submission will add the same new version number to all files, even files not involved in the submission. Therefore, the version number of each file at any time is the same. Files with the same version number constitute one version of the software.

  • Atomic commit. Whether a single file or multiple files are submitted at a time, they are submitted as a whole. Accidents such as transmission interruptions will not cause database incompleteness or data corruption.

  • Actions such as renaming, copying, and deleting files are stored in version history.

  • For binary files, a space-saving storage method is used (a simple understanding is to only store the differences from the previous version).

  • Directories also have version history. The entire directory tree can be moved or copied easily, and all version records can be retained.

  • The overhead of branches is very small.

  • Optimized database access allows some operations to be performed without accessing the database. This reduces a lot of unnecessary network traffic between the database host and the database host.

  • Supports metadata management. Each directory or file can define properties (Property), which are some hidden key-value pairs. Users can customize the property content, and the properties are within the scope of version control like the file content.

  • Supports two database formats: FSFS and Berkeley DB.

Related recommendations: "Git usage tutorial"

The above is the detailed content of What exactly does svn do?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is git workflowNext article:What is git workflow