You are on page 1of 3

Apache Subversion(SVN)

What is version control

Version control is a system that records changes to a file or set of files over time so that
you can recall specific versions later. It is repository of files with monitored access to
keep track of who and what changes were made to files.

Why version control

 Version tracking
 To revert files back to a previous state
 To revert the entire project back to a previous state
 Collaboration and sharing files
 Manage branches
 compare changes over time
 see who last modified something that might be causing a problem

Ex: server based : SVN, CVS, Perforce


Distributed based : GIT, Mercurial

Why SVN

 Manage files and directories over time


 Manage files and directories in a central repository
 Can manage any collection of files including source code and core files
 Maintains a working copy on local machine

Dev0ps Krishna 1
SVN Architecture

Key words

 Repository- is where all files are stored on server under subversion


 Working copy – is the directory where content of a project in the repository is copied
into a local machine.
 Checkout – copying(pulling) project from svn to local machine
 Checkin – Pushing data back to the repository after the operations
 Access the repository through browser URL
 Authentication and authorization to the repository

SVN life cycle

o Checkout
o Update
o Perform changes
o Fix mistakes
o Commit changes
o Resolve conflicts

Dev0ps Krishna 2
Dev0ps Krishna 3

You might also like