Course info
Mar 15, 2012
1h 54m

This course is an introduction to the fundamentals of using Mercurial, a Distributed Version Control System (DVCS). It begins by showing how to use Mercurial as a local, stand-alone source control system. Then it introduces working with a Mercurial server by showing how to get files into and out of a hosted repository. Finally it shows how to create and merge branches. Topics covered include source control, distributed version control, branching, cloning and merging. After viewing this course, the viewer should have the basic skills necessary to evaluate Mercurial as a replacement for their existing version control system, or to be productive using Mercurial if joining a team already using it.

About the author
About the author

Todd is a Lead Developer for Telerik’s Enterprise Services division.

More from the author
Test Studio Fundamentals
1h 47m
Oct 2, 2012
Section Introduction Transcripts
Section Introduction Transcripts

Working Locally
Hello, I'm Todd Ropog. In this module, I will cover Working Locally with Mercurial. If you used the source control system before, most of these concepts should seem familiar to you. You'll just be learning the Mercurial way to do things. The only significant difference from what you may be used to is that through the magic of distributed version control, all of these can be done locally without a server. So let's go over what we'll be covering in this module. I'll walk you through creating a local repository, which if you've only ever worked with centralized version control systems before, that may seem like a strange concept but it's really pretty easy. Then I'll show you how to add files, commit changes, view history, what to do when the files are modified, undoing changes to source control, how to tell Mercurial to ignore certain files, how to pull a specific revision out of source control, abbreviating commands, and how to remove files from source control.

Working with a Server
Hello I'm Todd Ropog, and in this module I'm going to cover working with a Mercurial server. In the previous module I covered the basic commands needed for working with a local Mercurial repository. In this module, I am going to go over how to synchronize your local repository with a remote repository. To do that, I am going to cover how to create a Mercurial server, how to clone a repository, and how to push and pull changes to that server.

Branching and Merging
Hello I'm Todd Ropog and in this module we are going to explore branching and merging. We're going to discuss the three most common forms of branching, implicit branches, clones, and named branches. There are other forms of branching, but these are the three that get used the most often. And after we go through the different forms of branching, then I'll talk about merging and show how you can merge code from one branch to another.