You are previewing Mercurial Distributed SCM Essentials How-to.
O'Reilly logo
Mercurial Distributed SCM Essentials How-to

Book Description

A series of 10 easy-to-perform practical recipes to quick start and get going with Mercurial simplicity and power

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.

  • Learn version control quickly using Mercurial basics and advanced features

  • Set up and work with the Mercurial server for collaborative software development

  • Practise a centralized workflow and continuous integration

  • Customize Mercurial with advanced commands, hooks, and extensions

In Detail

A version control system provides a central repository to effectively coordinate and collaborate the work of a software development team. Mercurial is one of the most powerful and portable distributed version control systems currently available and is also fully free software. Most importantly, it provides a smooth transition for developers knowing CVS or Subversion's command set.

Instant Mercurial Distributed SCM Essentials How-to will help you in exploring the basics as well as some of Mercurial’s most advanced features, such as extensions, hooks, conflict resolution, and so on through a comprehensive set of recipes. It quickly takes you through the process of creating a simple centralized software configuration workflow and continuous integration practice. If you are a software developer already familiar to version control but new to the Mercurial open source distributed VCS, this book is a great place to start.

Instant Mercurial Distributed SCM Essentials How-to begins with taking you through the tool installation and configuration and the most standard version control tasks, either for working locally or with a team through a series of easy-to-perform practical recipes.

Furthermore, this book will help you understand several tasks related to configuration management such as branching, merging, or solving conflicts and advanced tool usage; how to set up a web interface, to find when a bug was introduced, to enforce rules, to work with patches, or to set up a bidirectional gateway to another VCS.

Using a practical format of easy-to-perform recipes, Instant Mercurial SCM Essentials How-to leverages the simplicity and power of Mercurial to help you be more efficient and productive.

Table of Contents

  1. Mercurial Distributed SCM Essentials How-to
    1. Mercurial Distributed SCM Essentials How-to
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Errata
        2. Piracy
        3. Questions
    7. 1. Mercurial Distributed SCM Essentials How-to
      1. Installing Mercurial on your platform (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      2. Installing mercurial-server on your platform (Medium)
        1. How to do it...
        2. There's more
      3. Working with local files (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Other commands
          2. Options
      4. Displaying information (Simple)
        1. Getting ready
        2. How to do it...
        3. There's more...
          1. Searching
          2. Templating
      5. Working with others (Simple)
        1. Getting ready
        2. How to do it...
        3. There's more...
          1. Options
          2. Serve
          3. Import/Export
      6. Using SSH and mercurial-server (Medium)
        1. Getting ready
          1. Necessary packages
          2. Key pair
          3. Agent
          4. Server account and permissions
        2. How to do it...
        3. How it works...
      7. Branching, merging, and managing conflicts (Simple)
        1. Getting ready
        2. How to do it...
        3. There's more...
      8. Working with continuous integration (Simple)
        1. How to do it...
        2. There's more...
      9. Using additional commands and extensions (Advanced)
        1. Getting ready
        2. How to do it...
        3. There's more...
          1. Mq
          2. Working with other VCSs
            1. More on Hg-Git
            2. More on convert
      10. Mastering tips and tricks (Medium)
        1. How to do it...
        2. There's more...
          1. Undoing some mistakes
          2. Ignoring local files
          3. Keeping local changes forcibly
          4. Specifying File Sets and Revision Sets