Using Subversion with LeMANS and MONACO

Similar documents
CS2720 Practical Software Development

CSCI 2132: Software Development. Norbert Zeh. Faculty of Computer Science Dalhousie University. Subversion (and Git) Winter 2019

Common Configuration Management Tasks: How to Do Them with Subversion

Introduction to Revision Control

CSE 374 Programming Concepts & Tools. Hal Perkins Winter 2012 Lecture 16 Version control and svn

A Short Introduction to Subversion

Version Control Systems

CSCI 4152/6509 Natural Language Processing. Lab 1: FCS Computing Environment

Source Code Management

Department of Computer Science College of Engineering Boise State University

2/9/2013 LAB OUTLINE INTRODUCTION TO VCS WHY VERSION CONTROL SYSTEM(VCS)? II SENG 371 SOFTWARE EVOLUTION VERSION CONTROL SYSTEMS

Introduction to Version Control

Version Control System. -- base on Subversion 1.4

Revision control systems (RCS) and. Subversion

Computer Labs: Version Control with Subversion

Computer Labs: Version Control with Subversion

CSE 160: Introduction to Parallel Computation

VSO. Configuration Management

Subversion. CS 490MT/5555, Fall 2015, Yongjie Zheng

Revision Control II. - svn

Subversion Branching and Merging. Jan Skalický

CS480. Compilers Eclipse, SVN, Makefile examples

Software Tools Subversion

An Introduction to Subversion

Chapter 3. Revision Control

Software Development I

Workshop: High-performance computing for economists

What is Subversion and what does it do?

Subversion Repository Layout

Intro to Git. Getting started with Version Control. Murray Anderegg February 9, 2018

Managing Source Code With Subversion

12/7/09. How is a programming language processed? Picasso Design. Collaborating with Subversion Discussion of Preparation Analyses.

Submitting your Work using GIT

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.

And check out a copy of your group's source tree, where N is your one-digit group number and user is your rss username

Apache Subversion (SVN)

A BASIC UNDERSTANDING OF VERSION CONTROL

Subversion. An open source version control system. W. Miah escience Rutherford Appleton Laboratory

[Software Development] Development Tools. Davide Balzarotti. Eurecom Sophia Antipolis, France

Using Subversion for Source Code Control

2/8/18. Overview. Project Management. The First Law. What is Project Management? What Are These Changes? Software Configuration Management (SCM)

Apache Subversion (SVN)

Project Management. Overview

Lecture 01 - Working with Linux Servers and Git

Revision Control and GIT

A Gentle Introduction to CMSC311 labs and CVS Or How I learned to use CVS in CMSC311. William Arbaugh September 2, 2004

Version Control Systems (VCS)

TDDC88 Lab 4 Software Configuration Management

Apache Subversion Tutorial

Importing Files and Directories $ svnadmin create \

Source Control. Comp-206 : Introduction to Software Systems Lecture 21. Alexandre Denault Computer Science McGill University Fall 2006

Systems Software. Recitation 1: Intro & Revision Control. Quite different from 213. Our Philosophy. Partly-free lunch

Working with GIT. Florido Paganelli Lund University MNXB Florido Paganelli MNXB Working with git 1/47

About CVS. 1 Version Control - what is it? why is it useful?

Subversion. Network Monitoring & Management

Push up your code next generation version control with (E)Git

Index. Alias syntax, 31 Author and commit attributes, 334

Tutorial 2 GitHub Tutorial

SECTION 2: CODE REASONING + PROGRAMMING TOOLS. slides borrowed and adapted from Alex Mariakis and CSE 390a

Introduction to CVS. Sivan Toledo Tel-Aviv University

Outline The three W s Overview of gits structure Using git Final stuff. Git. A fast distributed revision control system

Using CVS to Manage Source RTL

Using Git to Manage Source RTL

Subversion FOUR. 4.1 What is Version Control? 4.2 What is Subversion? Types of Version Control SESSION

Table of Contents: Tortoise SVN is used as a source control for FpML.

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Version Control. 1 Version Control Systems. Ken Bloom. Linux User Group of Davis March 1, 2005

Git. A fast distributed revision control system. Nils Moschüring PhD Student (LMU)

Yinghui Wang

Computer Science Design I Version Control with Git

Home Page. Title Page. Contents. Page 1 of 17. Version Control. Go Back. Ken Bloom. Full Screen. Linux User Group of Davis March 1, Close.

Introduction to Version Control using Git

Part I Part 1 Version Control Systems (VCSs)

1/20/13 Git tutorial. Git tutorial. Mike Nolta. file:///users/nolta/github/reveal.js/git.html?print-paper#/ 1/31

Manage quality processes with Bugzilla

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs)

Source control with Subversion A user perspective

1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one.

CSCI 2132 Software Development. Lecture 5: File Permissions

CSE 390 Lecture 9. Version control and Subversion (svn)

Part I Part 1 Version Control Systems (VCSs)

Systems Programming Advanced Software Development

GIT. CS 490MT/5555, Spring 2017, Yongjie Zheng

Managing your code: version control

Version Control Systems

February 2 nd Jean Parpaillon

Assembla & TortoiseSVN

Tools for software development:

Ingegneria del Software Corso di Laurea in Informatica per il Management (D)VCS. Davide Rossi Dipartimento di Informatica Università di Bologna

Introduction to version control. David Rey DREAM

GIT FOR SYSTEM ADMINS JUSTIN ELLIOTT PENN STATE UNIVERSITY

Version Control Systems

LAB MANUAL GIT BY PRATIK JAIN. To start with git bash, we need to authenticate ourselves so that for every commit, git can use this information.

Versioning. Jurriaan Hage homepage: Slides stolen from Eelco Dolstra.

Git, the magical version control

Git tutorial. Katie Osterried C2SM. October 22, 2015

Git(Lab) Tutorial and Hands-On

git commit --amend git rebase <base> git reflog git checkout -b Create and check out a new branch named <branch>. Drop the -b

Portions adapted from A Visual Guide to Version Control. Introduction to CVS

Transcription:

Using with LeMANS and MONACO Timothy R. Deschenes and Alexandre Martin Department of Aerospace Engineering, University of Michigan September 15, 2008

Outline 1

Why Use Version Control Provides one method for an entire team to use; everybody operates under the same ground rules Make changes available to others in the group; improves collaboration Changes are oderly, saves development time Ability to track changes promotes accountability and makes it easier to solve problems. List of exact changes made can be generated quickly and easily. Ability to automatically back up code Easy to roll back to an earlier version institution-log

ITCS NGPD group has dedicated space on ITCS Can access using ssh protocol Automatic daily backups held for a week Automatic weekly backups held for six months

Initial Setup

Initial Checkout (svn checkout)

Initial Checkout (svn checkout)

Branch Creation (svn cp)

Branch Created

Updating Working Copy (svn update)

Commit Changes (svn commit)

Commited (svn commit)

Merging from another branch (svn merge)

Merged Trunk to Branch

Commiting Changes from Merge (svn commit)

Commiting Changes from Merge (svn commit)

Changes Committed to Repository (svn commit)

Checkout Checkout a working copy svn checkout svn+ssh://uniquename@login.itd.umich.edu\ /afs/umich.edu/group/acadaff/ngpd/svn-repos/svnlemans/lemans \ SVNlemans cd SVNlemans

Getting Information from Server Update a working copy from server svn update Updates to most recent version in repository svn update -r 1234 Updates to revision #1234 svn update -r 1000 foo.c Updates just foo.c to revision 1000

Getting Info (cont d) Updating Working Copy from Another Branch/Trunk svn merge You specify where to get the information Used to update one branches changes on another Also way to reintegrate your branch into the trunk Make sure you specify correct directory Similar syntax to update except you must specify server

Getting Info (cont d) Update/merge output U foo.c A foo.c D foo.c R foo.c File foo.c was (U)pdated (received changes from server) File foo.c was (A)dded to your working copy File foo.c was (D)eleted from your working copy File foo.c was (R)eplaced in your working copy (ie: that file was previously deleted, then added back to the repository)

Getting info (cont d) Update/merge output G foo.c C foo.c File foo.c was mer(g)ed from your changed copy and the repository s copy File foo.c was in (C)onflict with the repository. You have edited the same lines as someone else. A person must examine the files and decide which changes to implement (or blend the two together).

Conflict Resolution svn puts temporary files of each different file that must be examined by the person Pick which changes to keep and put in working copy file Use svn resolve foo.c and svn will delete temp files and keep whatever you put in foo.c Can also use svn revert to toss out all changes

Making Changes Edit files Use favorite text editor, package manager, etc Add Files to Working Copy svn add foo.c Can also add directories (automatically recursive for directories) Delete files svn rm foo.c (no need to delete file first) Rename files svn mv foo.c foo.old.c Copy Files or Directories svn cp foo.c foo.old.c (automatically recursive for directories) institution-log

Examining Changes output svn status Can see more information with -v Can see even more information with -u (but requires network access) institution-log

Examining Changes svn diff Used to show differences in files svn diff -r 3 foo.c Show differences between current foo.c and revision 3 version svn revert Undo changes (revert back to last update) Commit changes svn commit -m Log Message Updates the repository to match local working copy

Examining Past Changes Log Message Make sure log messages describe the changes made svn log Easy for other users to examine past evolution shows past log messages that have been processed in your branch -r 5:19 limit range of log messages printed Can also see the log for a particular file Only shows log for revisions changed that particular file

Further Reference () home http://subversion.tigris.org/ Book http://svnbook.red-bean.com/ MONACO repository location on AFS /afs/umich.edu/group/acadaff/ngpd/svn-repos/svnmonaco LeMANS repository location on AFS /afs/umich.edu/group/acadaff/ngpd/svn-repos/svnlemans ITCS login address login.itd.umich.edu institution-log