Mercurial & TorToise-HG

Slides:



Advertisements
Similar presentations
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.
Advertisements

If you press this you attach a files. This window will come up when the attach file button is pressed. You can then press browse and pick a file that.
Version Control System (Sub)Version Control (SVN).
BlackBoard Online Submission Annual Assessment Updates
Using svn and git with Unity and sdk
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
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.
The Design Workshop Introduction to Version Control 1.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 8-Oct-15.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Version Control. What is it? Software to help keep track of changes made to files Tracks the history of your work Helps you collaborate with others.
Version control Using Git Version control, using Git1.
Drexel University Software Engineering Research Group Git for SE101 1.
2010. The Subversion Dilemma Check in buggy code and drive everyone else crazy Avoid checking it in until it’s fully debugged or.
Information Systems and Network Engineering Laboratory II DR. KEN COSH WEEK 1.
Version Control Menggunakan TortoiseSVN
Team 708 – Hardwired Fusion Created by Nam Tran 2014.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Revision Control with TortoiseHg (Team use) Team usage Prepared by: Steve Teo Contributors: Tong Huu Khiem CS2103 – Software Engineering.
Microsoft Visual SourceSafe “(VSS) does not eliminate the need for discipline and coordination. It only makes discipline and coordination easier to live.
Mercurial – Revision Control System. Overview of Revision Control Systems (IBM) Rational ClearQuest Perforce Centralized systems – CVS, Subversion/SVN.
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Version Control Systems. Version Control Manage changes to software code – Preserve history – Facilitate multiple users / versions.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
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.
WinCVS Training è Basic Concepts è Download & Setup è Importing a new module into CVS Repository è Getting new module from CVS è Getting Latest version.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Information Systems and Network Engineering Laboratory I DR. KEN COSH WEEK 1.
Database & Information Systems Group University of Basel DBIS Group Talk Michael Springmann Distributed Source Code Management in Mercurial.
Lindsey Velez, Director of Instructional Technology Single Sign-On One Click.
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 28-Jun-16.
Information Systems and Network Engineering Laboratory II
Sharing and Synching files
NetApp Online Ordering User Tutorial
SVN intro (review).
LECTURE 2: Software Configuration Management
Version Control overview
Information Marketing Group, Inc.
ALICE-Juniors Meeting
Concurrent Version Control
An introduction to version control systems with Git
An introduction to version control systems with Git
LECTURE 3: Software Configuration Management
An introduction to version control systems with Git
Getting Started with Git and Bitbucket
Finding Magazine and Journal Articles in
Managing Rosters Screener Training Module Module 5
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
User Guide Subversion client TortoiseSVN
Microsoft Visual Source Safe How & Why
EGit in CCS
Subversion Basics Guide
AGILENT TECHNOLOGIES RESTRICTED
Introduction to Git and GitHub
Version Control with Git and GitHub
State of New Jersey Department of Health Patient Safety Reporting System Module 3 – Root Cause Analysis.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Using GitHub for Papyrus Models Jessie Jewitt – OAM Technology Consulting/ ARM Inc. January 29th, 2018.
Elliott Wolin GLUEX Collaboration meeting May 2004
Presentation transcript:

Mercurial & TorToise-HG

What Mercurial is a revision control system (RCS) Revision control is the process of managing multiple versions of a piece of information Tortoise is a set of graphical tools for Mercurial

Why Enables collaboration of multiple developers on shared files Tracks changes in projects: who, why, when & what Identifies and resolves potentially incompatible changes Enables recovery from mistakes

How does it work?

Definitions Repository – contains all of the files that “belong to” a project, along with a historical record of the project's files Clone – a clone of a repository, enables synchronizing with the original repository Changeset – a record of changes to (potentially) several files

Actions Commit – records changes in a new changeset Push – sends changes to another repository Pull – gets changes from another repository Update – update the changes that were pulled

Push/Pull Model

How do we use it? We don’t change the source files in Public Instead, we have a revision control over shared libraries Matlab tooboxes Perl modules Each one of them is a Repository Each one of us has Clones of them We make changes locally and push them only after a code review with Liran

Cloning a repository Should be done on a location in the server (Z:\) Right click the directory in which you want to create the repository, then click TortoiseHG and Clone

Click the Browse button next to Source Path and choose the repository you would like to clone

Click Clone

Overlay icons Open the folder and you will see overlay icons which reflect the status of the files Green V – no uncommitted change Red exclamation mark - uncommitted change Question mark – state unknown To update the overlay icons right-click the clone repository and from the TortoiseHG menu choose “Update Icons”

Viewing changes Right click your repository/ a directory or file inside your repository click TortoiseHG and then Visual Diff Choose from the window the file to compare A Kdiff window will open

Commit 1st time use: make sure your commit username is correct Right click your repository and choose TortioseHG and then Global Settings

Click the Commit tab and enter your username. Click Close

2nd time and up: Right click your repository/ a directory or file inside your repository and click HG Commit

Commit process: The commit button Enter commit message here The files that changed Shows the changes in the selected file from the last revision Legend of file statuses

Check that the commit was successful and close the log and commit windows

Synchronizing with original repository Right click your repository and choose TortioseHG and then Synchronize

Outgoing Displays local changes that’d be pushed Files that changed between the repositories The description is our commit comment

Push Done after commit and after code review Number of changesets (revisions) that are being pushed and to how many files

Incoming Displays changes that can be pulled from selected repository Who made the change and when Files that changed between the repositories The description is the commit comment

Pull Pulls changes from selected repository Number of changesets (revisions) that are being pulled and to how many files Update the changes in your repository View the modifications

Repository Explorer Used to visualize the revision history of each file in your repository Right click your repository and choose TortioseHG and then HG Repository Explorer

Summary of the change (the commit comment) Summary of the change (the commit comment). Bold – the revision currently used in the repository The user who committed the change How long ago the revision was committed Synchronizing tools Graphic display of revisions The modified files in the selected revision The changes made in the selected file in the selected revision

For more information Mercurial book Tortoise book