Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

SVN introduction

SVN introduction


Subversion (SVN) is an open-source version control system, which means Subversion manages data that changes over time. This data is placed in a central repository. This repository is very much like a normal file server, but it remembers every change to the files. This way you can restore files to older versions, or browse the change history of files.


Some SVN concepts

The daily development process is actually like this (assuming you have already checked out and worked for a few days): Update (get the latest code) --> make your own modifications and debug successfully --> Commit (everyone can see your modifications).

What if two programmers modify the same file at the same time? SVN can merge both programmers' changes. In fact, SVN manages source code at the line level, meaning as long as the two programmers did not modify the same line, SVN will automatically merge the two modifications. If it is the same line, SVN will prompt a file Conflict, which requires manual confirmation.

Main features of SVN

Advantages over CVS