Download presentation
Presentation is loading. Please wait.
Published byBartholomew Holmes Modified over 9 years ago
1
Object-Oriented Analysis & Design Subversion
2
Contents Configuration management The repository Versioning Tags Branches Subversion 2
3
Configuration Management 3 Configuration management is Storing source code and documents in a central location Allowing people to check out copies of the documents Checking in documents Assigning version numbers to documents Locking documents so only one person can check it out Sharing documents among several people and resolving conflicts Assigning tags to major releases Creating branches off the trunk
4
The Repository 4 Repository stores all software in project Usually accessed via the internet Any member of the group can Checkin software Checkout software The repository is a copy of the software on the user’s local disk Repository Checkin / checkout
5
Versioning 5 Every time software is checked in, a version number is assigned When software is checked out, you get the most recent version by default You can request any version of the software if you do not want the most recent version 1.0 1.1 1.2 2.0
6
Checking In 6 Copies software from your computer to the repository Assigns a version number to it Makes the software to other people in the team New files can be added to the project Comments can be added Can resolve conflicts if someone else modified the same document Repository
7
Checking Out 7 Copies the software from the repository to your computer Can optionally lock the software so no one else can check out the same files Repository
8
Tags 8 Can add a tag to any combination of files Tag can be used to mark major milestones Can be used to retrieve all files used in a release Release 1.0
9
Branches 9 Allow branches of the code base Each branch is a different version of the software Allows for Experimental development Development of different versions for specialized markets 1.0 1.1 1.1.1 1.1.2 1.2.1 1.2.2
10
Subversion 10 One of many open source source code control systems Advantages Can be run locally on a computer Can be run as a network server Has a client integrated into the Windows file manager (Tigress SVN) Recognizes the structure of directories Uses the same version number for all files in a project, even if some of the files are not updated Commits are atomic
11
Connecting to a Repository 11 Right click on a file in the file browser Select Tortoise SVN | Repo Browser Use https to specify repository Enter user name and password
12
Adding Files to the Repository 12 You must place files under version control Right click on file or directory in file browser Select Tortoise SVN | Add... This will let you add files to the project
13
Checking In 13 Once you have changed a file and want to place the changes in the repository Right click on the file in the file browser Select SVN Commit
14
Checkout 14 Right click and select checkout Fill in destination directory
15
Update 15 This will refresh the files in your copy to make sure they are up to date with the repository Right click on file or directory in file browser and click SVN Update
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.