Version Control System (Sub)Version Control (SVN).

Slides:



Advertisements
Similar presentations
TortoiseSVN By Group 1 Team B. Installing TortoiseSVN.
Advertisements

NIMAC 2.0: The Accessible Media Producer Portal NIMAC 2.0 for AMPs.
WebLessons E-learning System Teacher Training. Getting Started Sign In Teacher Home.
FILEMAKER SERVER SOFTWARE & REMOTE ADMINISTRATION
Intro to Version Control Have you ever …? Had an application crash and lose ALL of your work Made changes to a file for the worse and wished you could.
An Introduction to Using
 Please sit next to your partner.  If you don’t have a partner, please find one now.
TortoiseSVN Tutorial TortoiseSVN Tutorial By: Dung Nguyen Date: May 26 th, 2008 Duration: 1h30’ By: Dung Nguyen Date: May 26 th, 2008 Duration: 1h30’ Topic:
OpenCMS and the MSASS Website. A Note on Terminology Locking a file for editing: No lockNOT locked You have write/edit access Someone else has write.
CPIT 102 CPIT 102 CHAPTER 1 COLLABORATING on DOCUMENTS.
Version Control System Sui Huang, McMaster University Version Control SystemSui Huang, McMaster University Version Control System -- base on Subversion.
SOFTWARE REVISION CONTROL WITH SUBVERSION Evan Dickinson & Andy Huang – 9 March 2011.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
Edit the text with your own short phrases. The animation is already done for you; just copy and paste the slide into your existing presentation. RegisterLogin.
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
Teacher Development Broward County Public Schools Matching Aspiring Teachers with Teacher Mentors Office of Talent Development formerly known as HRD.
Networking Overview Your OUNet ID ("4 plus 4") OUNet Password Changing Your OUNet Password Your Official OU Forwarding Your Mail Getting Help Overview.
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
Getting Started with Moodle Getting Started Logging In Entering Your Address Viewing a Course Navigating Your Course’s Homepage Personalizing Your.
The Design Workshop Introduction to Version Control 1.
Version Control with Subversion Quick Reference of Subversion.
Subversion Code Deployment LifeCycle August 2011.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first four.
← Select Exchange Once logged in. ↓ click Join Course Icon.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Using Skype to Communicate with Family and Friends Presented by: Karla Lechuga.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
Using Subversion and TortoiseSVN for Windows by Galen Wilkerson Gund Institute for Ecological Economics University of Vermont
Version Control Menggunakan TortoiseSVN
(Sub)Version Control. 2 Keep large teams working on the same code Back up your work so you don't lose it all Compare changes to previous versions Revert.
SENG 403 Tutorial 1 1SENG 403 – Winter Agenda Version Control Basics Subversion Basic actions in Subversion Some examples 2SENG 403 – Winter 2012.
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
Go to your school’s web locker site Your user name is the first letter of your first name, the first four letters of.
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
Mtivity Client Support System Quick start guide. Mtivity Client Support System We are very pleased to announce the launch of a new Client Support System.
Copyright © Curt Hill Tortoise SVN A Subversion Client.
When collaborating, it is important to manage changes in the models. For example: –To create or edit a submodel E.g. Habitat suitability is replaced with.
L.T.E :: Learning Through Experimenting Using google-svn for MtM Docs Development Denis Thibault Version 3.2 Mar 12 th, 2009.
Sabriansyah R.A Version Control. The Repository Subversion adalah sistem tersentralisasi untuk informasi sharing Repository adalah pusat penyimpanan data.
Testing External Survey Automatic Credit Granting Shepherd University Department of Psychology.
Version Control and SVN ECE 297. Why Do We Need Version Control?
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
Fujitsu America Proprietary and Confidential, (c) FUJITSU America Inc Download Authentic Desktop Edition How to download Authentic 2004 Download.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
(1) Introduction to Subversion (SVN) and Google Project Hosting Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences.
If you don’t have Google Earth downloaded already, you can go to to get it.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
ELISTING How to use eListing to conveniently and quickly file your personal property listing online. DEPARTMENT OF ASSESSMENTS King County To navigate.
Find a Lawyer Launch Guide How to make the most of this powerful new member benefit.
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
DIGITAL REPOSITORIES CGDD Job Description… Senior Tools Programmer – pulled August 4 th, 2011 from Gamasutra.
TechKnowlogy Conference August 2, 2011 Using GoogleDocs for Collaboration.
Source Control Dr. Scott Schaefer. Version Control Systems Allow for maintenance and archiving of multiple versions of code / other files Designed for.
Subversion Subversion is a brand of version control software that is frequently used to store the code and documentation of a project so as to permit.
Version Control with Subversion
A Step by Step Tutorial This PowerPoint presentation is intended to show eDMR users how to login and use the eDMR system.
SVN intro (review).
How to use SVN K.Somiya Tokyo Tech.
Source Control Dr. Scott Schaefer.
Services Course 9/9/2018 3:37 PM Services Course Windows Live SkyDrive Participant Guide © 2008 Microsoft Corporation. All rights reserved.
An Introduction to Using
slides borrowed and adapted from Alex Mariakis and CSE 390a
User Guide Subversion client TortoiseSVN
Subversion Basics Guide
PGS Training – PGS File Management
Presentation transcript:

Version Control System (Sub)Version Control (SVN)

SVN Login Your ID/Password are the same as your accessID(xx1234) Your ID will show up with every commit you make, so make sure that your program compiles before you submit. If someone else submits something with your ID, YOU are responsible! So protect your ID from others.

SVN client - TortoiseSVN Open source application – download it from – After the installation a new option appears in the menu when you right click on a folder *This is for your home computer, the lab computers have it already.

How to checkout Right click in the folder you want to check out into Select SVN Checkout…

How to checkout URL of repository:

How to checkout Enter the user name and password: –Your accessID (xx1234) and the same password you use for Pipeline/Blackboard

How to checkout Select the project you want to download: For this assignment we are using the “test” project.

Update If you have a set of files checked out and would like to update them to the most recent version of files in the repository, use the update command. If there are newer files in the repository, they will overwrite any files you have locally, if you haven’t changed them. TortoiseSVN can merge some files on its own, but may tell you there are conflicts with others. If a file has a conflict use diff.

How to update Right click on the file, folder or project you want to update and choose SVN Update

Commit Once you have added, deleted, or changed files or directories, you can then commit those changes to the repository. Before committing you should always update. The safest way to commit, is to diff your project before you commit. Always check your project out after a commit and make sure it compiles.

Commit Comments All commits need to be commented. If you forget to comment, make a trivial change to a file and commit adding in your comment that it applies to the previous commit. Include: Your Name The type of commit (Change, Bug Fix, …) What the commit does (Adds ToolTip dialog …) Any other important details Don’t include: The names of the files (The log will have them) The date or time

How to commit Right click on the file, folder or project you want to update and choose SVN Commit…

How to Diff Right click on the file you want to diff. Select Diff, this will compare your file to the most recent (Head) version on the repository. In a new window

Diff - How to solve conflicts If just a word changed, it will be in red on one side yellow on the other You can use the green arrows to navigate through the differences.

Diff - How to solve conflicts If lines were added/deleted one side will have gray the other yellow. The Edit menu has options to help you combine the files.

Finding who changed who to blame This feature isn’t only to “get someone in trouble”. If you have a conflict, this will tell you who changed each line of code in the file. That way you can communicate with them to resolve the conflict.

“Blame” feature

If conflict cannot be solved you can revert your changes This will only revert the copy of the file on your computer, not in the repository.

To see the log of changes Use the same steps as Diff, but choose “Show log” instead of “Diff”. This can be done with a file, folder, project or entire repository.

To see the log of changes The left column is the version number. It can be entered in the Checkout dialog to get that version instead of the “Head” version. The bottom shows all the files added/modified/deleted in that revision

Adding new files Before you commit make sure you add the file into the repository After you add - commit

If you make a bad commit If your commit breaks the baseline. Update your local copy Check out the last good version Commit this version

When to commit Commit to mark a working state that you might want to return to later. Commit related files in a single operation. Use a common log message for all the files. Commit to backup your sources. Commit from an office desktop to be able to access the files from home much faster than through filesystem sharing.

Rules on using SVN Carefully test your code before committing Before committing, perform an update on the whole source code directory, and then retest Always commit only the individual files you modified, not the entire directory When adding new files to the existing source code, always perform SVN Add and then SVN Commit When you have conflicts, contact the teammates which modified that file and try to solve the conflicts together to avoid damages.

Rules on using SVN (contd.) You will be responsible for any changes submitted using your username and password! Do not check out other projects than the one assigned to you! It can be easily verified… You are completely responsible for any faults your changes introduced in the existing software or your colleagues’ changes! Always test, update, resolve conflicts and then retest before committing!!! Always write comments in the dialog box when committing a file, including your name, student ID, number of change request(1,2 or 3) and the change request itself – do this for each file you modify/add/delete

Rules for the class project Do not add any file from the build or debug directory, such as and *.exe, *.dll files. Compare version 1 & 2 of the test project. Version 1 is wrong, version 2 is right. Visual Studio makes files to save your preferences do not commit these. They have names like MergeX64.vcproj.YourComputerName.YourID In general you should only add: –Source files *.cpp, *.h –Solution files *.sln, *.vcproj just not the one above. –Resource files *.rc –Image files (for icons) *.bmp, *.ico Always include a comment when you commit.

Notes on using SVN Do not share your login and password – you are responsible for all changes made with your ID Do not check out projects of other groups !!! If you check in modifications to the project of other group you might be responsible for that If you do not understand something, please ask GTA before doing that If you do not like a client that we’re suggesting you to use, you’re free to use any other available SVN client (but please notify me and write a couple of lines explaining why)