Book Description
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.
This open book is licensed under a Open Publication License (OPL). You can download Mercurial: The Definitive Guide ebook for free in PDF format (2.7 MB).
Table of Contents
Chapter 1
A Brief History of Revision Control
Chapter 2
A Tour of Mercurial: The Basics
Chapter 3
A Tour of Mercurial: 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 9
Finding and Fixing Mistakes
Chapter 10
Handling Repository Events with Hooks
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