Download presentation
Presentation is loading. Please wait.
1
Revision Control Daniel Daugherty
11/21/2018
2
Introduction This presentation will give an overview of Revision control What is can be used for Common Terms Who and what can benefit from revision control software How to implement revision control software. 11/21/2018
3
Agenda List the topics to be covered List the times allotted to each
11/21/2018
4
What is Revision Control
Revision Control software is software that keeps track of multiple version of one or more files. Allows for retrieval of previous versions of a file(s) Most provide the ability to provide a description of changes made in the version being checked in. 11/21/2018
5
Vocabulary Repository: Place where a group of revision control files live. Revision: A version of file or group of files. Check-in: Sends a copy of the current file(s) to the repository. Which are then assigned a new revision. Check-out: Retrieves and possibly locks the current file(s) Merge: Action of taking 2 version of a file and combining the changes. Branch: A separate copy of file to allow parallel development with in source control. 11/21/2018
6
Why use Revision Control
Prevent the Last to Save WINS situation Provides a consistent and reliable method to keep copies of pervious versions of a file. Keeps a log of who made changes and description of what changes were made. Can allow development on multiple version of an application at the same time Example Bug Fix for current production site/application Development of new version Last to save wins problem (multiple people working on the same file) locking files merging changes (in concurrent edit setups) Maintaining Multiple version of an application Example Mozilla Support large application changes while still allowing mantiance of existing application untill changes are complete. Centeraly located storage of application Can allow easy access to remote developers (if supported by revesion control application) 11/21/2018
7
How to set up Revision Control
Chose what revision control software you are going to use. Setup repository(s) Setup Securtiy (if supported) Install Client Import files into repository Update working directory Checkout file(s) if using file locking Edit Commit Changes 11/21/2018
8
What can Revision Control be used for
Source Code Configuration files Requirement and Design documents Marketing Material Images * Any type of file. * * Binary file have some limitation with most revision control software. 11/21/2018
9
Locking files VS Concurrent Edit
great for hard to merge items (binary files). Can cause conflict when multiple people need the same file. requires connection to the repository to obtain a lock to allow editing Concurrent editing no conflict for control of a file for editing. no connection to the repository needed to begin editing a file If two edit occur on the same file a merge is required. 11/21/2018
10
Branching and Merging Branching – Allows for two or more concurrent copies of code to exist in source control for a single application. For example - The current Production version of a web site. And the new 2005 version with new look and feel and increased feature set. Merging: Merging as covered earlier allow different versions of files to be compared and the changes consolidated into a single new version. This functionality can also be used to bring changes from one branch to different branch. Show Mozilla example branch file. 11/21/2018
11
Summary Revision control give you control over your documents
Can be used for any type of document Many different types with different features and costs. 11/21/2018
12
Where to Get More Information
Comparison of different revision control software Sub Version links Subversion - O’Reilly Sub version book - Tortosise Client - CVS resources CVS - Tortosise Client - Essential CVS by O’Reilly Component Software RCS – 11/21/2018
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.