Home >Development Tools >git >What is the difference between svn and vss
Difference: 1. vss is developed by Microsoft and is paid, while svn is open source and free; 2. vss must have a client, while svn can use the client or command line mode, or You can use the web page for read-only access; 3. vss only supports windows systems, while svn supports windows and linux systems; 4. vss is a "lock-edit-unlock" mode, and svn defaults to a "modify-conflict-merge" mode; 5 , The version number of vss corresponds to a single file, and the version number of svn corresponds to the entire version library.
The operating environment of this tutorial: Windows 7 system, Subversion version 1.14, Dell G3 computer.
SVN is the abbreviation of Subversion. It is an open source version control system. Compared with RCS and CVS, it adopts a branch management system. Its design goal is to replace CVS. Many version control services on the Internet have migrated from CVS to Subversion.
VSS stands for Visual Source Safe. As a member of Microsoft Visual Studio, its main task is to manage project files and can be applied to almost any software project. It manages different versions of source code and documents in software development, takes up little space and facilitates the acquisition of various versions of code and documents, and effectively coordinates access to source code in the development team.
The difference between svn and vss
1. vss is paid by Microsoft, while svn is open source and free
2. Vss must have a client. svn can use the client or command line mode. You can also use the web page for read-only access
3. vss only supports windows, while svn supports windows and linux
4. vss is a lock-edit-unlock mode. Although svn also supports locking, the default is modify-conflict-merge mode
5. The version number of vss corresponds to a single file, and the version number of svn corresponds to What is the entire version library
Extended knowledge:
Features of svn
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.
SVN advantages
Storage
The SVN server has the advantages of data storage that CVS has. , for example, after information resources are stored, a resource tree structure will be formed, which facilitates storage, data is generally not lost, and has its own characteristics. SVN uses relational databases and binary storage methods to solve the problem of being unable to read and write the same file at the same time, and at the same time adds its own unique "zero or one" principle.
Speed
Compared with people's initial CVS, SVN has greatly improved in terms of speed. Because the SVN server only supports the transmission of a small amount of information and resources, it supports offline mode more than other systems, thus avoiding network congestion.
Safety
SVN is a technically safer product that combines both system and control aspects. On the one hand, the security functions of the overall system can be effectively distributed among the branch systems, thereby ensuring the normal operation of the branch systems, so that each branch system can complement each other. Finally, the security of the system as a whole can be guaranteed, and the ultimate pursuit can be achieved through the principle of balance. security purposes.
Related recommendations: "Git usage tutorial"
The above is the detailed content of What is the difference between svn and vss. For more information, please follow other related articles on the PHP Chinese website!