Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


This instructive book takes you step by step through ways to track, merge, and manage both open source and commercial software projects with Mercurial, using Windows, Mac OS X, Linux, Solaris, and other systems. Mercurial is the easiest system to learn when it comes to distributed revision control. And it's a very flexible tool that's ideal whether you're a lone programmer working on a small project, or part of a huge team dealing with thousands of files. Mercurial permits a countless variety of development and collaboration methods, and this book offers several concrete suggestions to get you started. This guide will help you:

  • Learn the basics of working with a repository, changesets, and revisions

  • Merge changes from separate repositories

  • Set up Mercurial to work with files on a daily basis, including which ones to track

  • Get examples and tools for setting up various workflow models

  • Manage a project that's making progress on multiple fronts at once

  • Find and fix mistakes by isolating problem sources

  • Use hooks to perform actions automatically in response to repository events

  • Customize the output of Mercurial

Mercurial: The Definitive Guide maintains a strong focus on simplicity to help you learn Mercurial quickly and thoroughly.

Subscriber Reviews

Average Rating: 4 out of 5 rating Based on 6 Ratings

"A great book on Mercurial" - by Frank on 28-OCT-2009
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Based on this book, I've learned Mercurial in detail. The book is clear and concise. It presents the need to know information in a easy to read, follow and understand format.
Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Mercurial: The Definitive Guide

  • Catalog Page

Visit the errata page for Mercurial: The Definitive Guide

  • Errata