 Please sit next to your partner.  If you don’t have a partner, please find one now.

Slides:



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

1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Version Control System (Sub)Version Control (SVN).
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.
CS282.  Doxygen is a documentation generator for ◦ C++, C, C#, Java, Objective-C, Python, PHP, …  Doxygen will document your code according to the “tags”
2/6/2008Prof. Hilfinger CS164 Lecture 71 Version Control Lecture 7.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
Concurrent Versioning System Chapter 8 (ALBING’s).
Subversion Takes Back the Night How Version Control makes web development better.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
SubVersioN – the new Central Service at DESY by Marian Gawron.
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
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.
Warmup A programmer’s wife tells him, “Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.” The programmer.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Subversion (SVN) Tutorial Source:
Drexel University Software Engineering Research Group Git for SE101 1.
Version Control Systems academy.zariba.com 1. Lecture Content 1.What is Software Configuration Management? 2.Version Control Systems (VCS) 3.Basic Git.
Git workflow and basic commands By: Anuj Sharma. Why git? Git is a distributed revision control system with an emphasis on speed, data integrity, and.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
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.
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
Team 708 – Hardwired Fusion Created by Nam Tran 2014.
CSE 219 Computer Science III CVS
Version Control with SVN Images from TortoiseSVN documentation
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Version Control Reducing risk with version control Jon Austin
1 CSE306 Operating Systems Projects CVS/SSH tutorial.
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.
Intro to Git presented by Brian K. Vagnini Hosted by.
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.
12 CVS Mauro Jaskelioff (originally by Gail Hopkins)
Version Control System
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
WinCVS Training è Basic Concepts è Download & Setup è Importing a new module into CVS Repository è Getting new module from CVS è Getting Latest version.
Subversion (SVN) is a widely used version control system and an essential piece of the MIMES collaborative modeling environment. It allows us to manage.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 16 – Version control and git.
(1) Introduction to Subversion (SVN) and Google Project Hosting Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Introduction to Git - Chirag Dani. Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio.
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
NALINI S. NAUTIYAL SYSTEM SOFTWARE DIVISION Subversion.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
1 Subversion Kate Hedstrom April Version Control Software System for managing source files –For groups of people working on the same code –When.
Problem Solving With C++ SVN ( Version Control ) April 2016.
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.
Concurrent Versions System User guide for CS408
SVN intro (review).
Source Control Dr. Scott Schaefer.
Version Control overview
Part 3 – Remote Connection, File Transfer, Remote Environments
ALICE-Juniors Meeting
Storing, Sending, and Tracking Files Recitation 2
slides borrowed and adapted from Alex Mariakis and CSE 390a
User Guide Subversion client TortoiseSVN
Prof. Hilfinger CS164 Lecture 4
Presentation transcript:

 Please sit next to your partner.  If you don’t have a partner, please find one now.

CS 282

 Questions from last time?  Anything you would like to know about the assignment?  Notes ◦ You should do all your drawing inside DrawGLScene ◦ The completed framework is online for Mac OSX, Linux, and Windows (once OpenGL is installed in ECC). ◦ In order to compile the framework, you must download OpenGL (XCode, apt-get, website).

 SVN is a versioning control software.

 A repository of files with monitored access to keep track of who and what changes were made to files ◦ Version tracking ◦ Collaboration and sharing files ◦ Historical information ◦ Retrieve past versions ◦ Manage branches

 Let’s create a repository now.  First, have two terminal sessions up. ◦ The first terminal will be used to access your ECC account (i.e. what you used to log onto the lab computer).  Everything accessed here is considered to be on your “local” machine  This is where your “local copy” is ◦ The second terminal will be used to access your CSE account (i.e. a DIFFERENT account completely separate from your ECC account).  Everything accessed here is considered as being “remotely” accessed on a completely different computer than the ECC computer)  This is where your “repository” is

 CSE 1) Log into the CSE server in terminal ◦ ssh  CSE 2) Create a repository directory in CSE ◦ ~/repositories/  CSE 3) Type in “svnadmin create tutorial” in the repositories directory ◦ This will create a folder in repositories called “tutorial”

 ECC 1) Create a directory you would like to add repository files to. ◦ Let’s name it “myproject”  ECC 2) Add the following folders in myproject ◦ trunk ◦ branches ◦ tags  ECC 3) Now type in the following from one directory up from myproject ◦ svn import myproject ories/tutorial  NOTE: this is all one command, and should all be typed onto a single line of the terminal before hitting enter  Replace “username” with your CSE username

 Those directories you just created are now in your repository ◦ Use the import command on your first revision.  ECC 4) Now delete the local directory (myproject) on the ECC side. ◦ rm –fr myproject  ECC 5) Now let’s get the revision stored in the repository. ◦ svn checkout rial  NOTE: this is all one command, and should all be typed onto a single line of the terminal before hitting enter  Replace “username” with your CSE username  Congratulations! You have just successfully created and downloaded your first svn repository!

 First, switch drivers!  ECC 6) Go into tutorial/trunk/ and create a file in it ◦ For example, main.cpp  ECC 7) Commit this to your repository ◦ svn commit –m “[insert meaningful message here]”  ECC 8) Now, use and test the following commands… ◦ Use these commands by typing: svn CommandNameHere  add ◦ Use this when you want to add a file to your repository. ◦ Create a main.h and add it to the repository (don’t commit it yet).

 delete ◦ Use this when you want to remove a file from the repository ◦ Remove main.cpp (don’t commit yet).  status ◦ Use this to check what you’ve changed so far. ◦ “?” – You haven’t added this file yet  NOTE: This is fine. You don’t ALWAYS have to add files that are denoted with a “?”. NEVER ADD YOUR BINARIES (EXECUTABLES). ◦ “A” – You’ve added this file. ◦ “M” – You’ve made changes to this file.

 diff ◦ Check out the exact lines of code you’ve added or removed. ◦ “+” means you’ve added this line, ◦ “-” means you’ve removed this line.  update ◦ Allows you to update to the newest revision. ◦ Have your partner svn checkout (co) the repository on their computer. ◦ Commit the changes you’ve been making. ◦ Have your partner svn update. ◦ Call me when you have completed this step.

 add ◦ add files to your local repository  status ◦ check which files you’ve changed, which files haven’t been added yet  diff ◦ see what’s different between the revision you’re running and the changes you’ve made  delete ◦ remove files from your local repository  commit ◦ commit your changes to the online repository  update ◦ update your local repository with the latest version

 Partner A and Partner B both work on the same file, test1.cpp.  Partner A commits his changes to the repository.  Partner B finishes a little later, and tries to commit.  Uh oh! Partner B has encountered a conflict. ◦ SVN will then prompt you with a variety of options to handle this conflict

 In order to resolve conflicts, there are a few things you can do… ◦ Tell SVN to ignore your changes ◦ Tell SVN to ignore your partner’s changes ◦ Manually remove whatever is conflicting, and recommit.  The best way, of course, is to not have a conflict in the first place. ◦ Be sure to google SVN, and take a look at the documentary if you’re having trouble resolving conflicts.

 TortoiseSVN (For Windows):  RabbitVCS (For Linux):