Mercurial: The Definitive Guide: The Definitive Guide

Front Cover
"O'Reilly Media, Inc.", Jun 16, 2009 - Computers - 284 pages
1 Review

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.

What people are saying - Write a review

We haven't found any reviews in the usual places.


Chapter 1 A Brief History of Revision Control
The Basics
Merging Work
Chapter 4 Behind the Scenes
Chapter 5 Mercurial in Daily Use
Chapter 6 Collaborating with Other People
Chapter 7 Filenames and Pattern Matching
Chapter 8 Managing Releases and Branchy Development
Chapter 11 Customizing the Output of Mercurial
Chapter 12 Managing Changes with Mercurial Queues
Chapter 13 Advanced Uses of Mercurial Queues
Chapter 14 Adding Functionality with Extensions
Appendix A Migrating to Mercurial
Appendix B Mercurial Queues Reference
Appendix C Installing Mercurial from Source
Appendix D Open Publication License

Chapter 9 Finding and Fixing Mistakes
Chapter 10 Handling Repository Events with Hooks

Other editions - View all

Common terms and phrases

About the author (2009)

Bryan O'Sullivan is an Irish writer and developer who works with distributed systems, open source software, and programming languages. He wrote the award-winning O'Reilly title Real World Haskell. He has made significant contributions to the popular Mercurial revision control system, and to a number of other open source projects. He lives in San Francisco with his family. Whenever he can, he runs off to climb rocks.

Bibliographic information