What is SVN?
SVN (SubVersion) is a server-side software useful to store all types of files historically. It is capable of saving every change made to the file, and anyone has authorization to the Subversion server can get the file saved at a particular time. Default it gives you the latest version of the file.
Subversion provides collaboration, means many persons can work on the same file. For example, more than one person can check out the latest version of the file and update it.
SVN provides authentication mechanism; We can create users in the Subversion, and only those users can access the SVN files.
SVN provides authorization; It provides path based authorization, and users have access to the path only do read or write the files on the server. It also provides you to control read or write access to the files.
SVN File Structure
Developers use SVN to save their source codes, files and others project files like images, XML files for the version control system. It has three main features that mentioned below
TRUNK: It is the SVN path where your historical source code resides, this is the main development SVN path where developer’s checkout the project and do development. The next release of the project comes from the TRUNK.
BRANCH: It is the SVN path where the project stable or beta or Snapshot or any release is residing. Whenever a release happens to the project, the files saved into the branch with the branch name. Developers check out from the branch for bug fixing and other support activities for the particular release.
TAG: It is the SVN path contains a backup of the source codes. Whenever a branch or trunk release has been approved, a snapshot of the approved source code is saved in the TAG.
SVN Software Components
Two principal components are required to setup an SVN for use. That is SVN Server and SVN client.
SVN Server is a software component of SVN where all the historical source codes or files are residing; it includes the TRUNK, BRANCH, and TAG.
SVN Client is another component of SVN where developer’s checkout project from SVN Server and make changes.
Many vendors provide SVN for proprietary and free. Some of them are Apache Subversion, Tortoise SVN, Visual SVN, Collabnet SVN, Smart SVN, Silk SVN, etc.
In this section, we will walkthrough about installing an SVN Server and Client on Windows
Installing SVN Server
Click the link CollabNet SVN installation for Collabnet Installation instruction
Create Repository in SVN Server
Click the link create-repository-in-CollabNet for instruction to create repository in CollabNet Subversion.
Installing SVN Client and Check-In/Check-Out Project
Click the link InstalSVN ClIent for installing Tortoise SVN Client and how to Check-out & Check-In a project in SVN Server.
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂