Twin Cities Code Camp

Chris Sutton

Introduction to Distributed Source Control with Mercurial

by Chris Sutton

Thu, Apr 01, 2010
Room:
Time: 0:00

Distributed source control systems have become popular in the last several years, but they have just recently gained popularity in the .NET/Windows space. CodePlex, Microsoft's open source code hosting website, recently added support for Mercurial as an alternative to Team Foundation Server(TFS). This is an exciting change for people wanting to take advantage of a distributed source control tool. In this talk I'll introduce you to TortoiseHg which is a Windows shell tool for interacting with Mercurial. We'll cover the basic command-line options like init, clone, push, pull, log and status. Then we'll examine how to perform the same actions with hgtk commands, which offer clean graphical interfaces to perform the same actions. In the second part of the talk we'll look at how to use branching and merging well. And we'll finish up by discussing what makes distributed source control different from centralized systems like Subversion and how it can change your source control workflow.


About the Author

Chris Sutton is a software developer and technical trainer in Eastern Iowa. He helps run CRineta.org in Cedar Rapids, Iowa and he co-founded the Iowa Code Camp in 2008. Chris is a Microsoft MVP, a Microsoft Certified Trainer (MCT) and holds the MCPD:Enterprise certification. He has been consulting and speaking on web related topics since the beginning of 2005 and loves developing for the web. He also enjoys hiking and biking in the summer with his family and snowshoeing in the winter.