Know SVN
• Apache subversion is commonly known as SVN.
• Created by collabNet Inc. in 2000.
• Software versioning and revision control system.
• Distributed under open source license ,free over internet.
• Comes by default with most of GNU/Linux distributions.
• To check availability use the command : svn --version.
• Now developed as a product of apache software foundation.
• Version control system i.e. VCS is a software.
• It helps software developers to work together and maintain a complete history of their work.
• Goals of VCS:
Allow developers to work simultaneously
Do not over write each other’s change
Maintain history of each version
• Categories of VCS:
Centralized VCS – CVCS
Decentralized/Distributed VCS – DVCS
• Repository:
Heart of VCS
Stores files as well as history
Repository is accessed over a network – acting as server
Version control tool – acting as client
Client i.e. VC tool can connect to the repository and can store or retrieve changes
• Trunk:
Directory where main development works are stored
Developers can check out the project to work on and can check-in back the project
• Tags:
Stores named snapshot of the project
It allows to give descriptive and memorable names to a specific version in the repository
Ex: repository ID : abcg9de-4116-54ab-ss11-wi81n5hl39s and version no 2
:Tags:LATEST-CODE_FOR_XYZ_PROJECT
• Branch:
Used to create another line of deployment
Useful when you want your development process to fork off in two different direction
Ex:After release of version 1.0,you can create a branch for developing version 2.0,to keep it separate from version 1.0 bug fixes
• Working copy:
Snapshot of the repository
Checked in by the developers in local work space
Isolated from the rest of the team
• Commit Changes:
Process of storing changes from workplace to the central server
It is an atomic operation
Either the whole commit succeed or the roll back
No comments:
Post a Comment