linux-搭建svn-服务器(Linux- build svn- server)
linux-搭建svn-服务器(Linux- build svn- server)
Linux build SVN server, Linux build SVN server
I. brief introduction of SVN
Subversion (SVN) is an open source version control system, that is, Subversion manages data over time. These data are placed in a central data archive (repository). This archive is quite like an ordinary file server, but it remembers every change in the file. This way you can restore the file to the old version, or browse through the history of the file changes.
Some concepts in SVN:
(1). Repository (source code library)
Where the source code is stored in a unified location
(2). Checkout (extract)
When you have no source code on hand, you need a copy from repository checkout
(3). Commit (submitted)
When you have modified the code, you need Commit to repository
(4). Update (update)
When you have Checkout a source code, Update, you can synchronize with the source code on Repository, and the code in your hand will have the latest changes
The daily development process is actually the case (assuming you have the Checkout and have worked for a few days): Update (the latest code) --> to make their own modifications and successful commissioning --> Commit (you can see your revised).
If two programmers also modified the same file, you can combine the two SVN programmers, SVN source code is actually management oriented, that is as long as two programmers not modify the same line program, SVN will automatically merge two modifications. If it is the same line, SVN will prompt for file Confict, conflict, and manual confirmation is required.
Client software:
(1) Windows commonly used client software, commonly used TortoiseSVN. It is a free, open source client. Download address: /downloads.html
(2) to Myeclipse, and also some SVN plugins.
Subversion provides the following main functions:
(1) directory versioning
CVS can only track the history of individual files, but Subversion implements a “ a version of the virtual &rdquo version of the file system that keeps tra