Patch Branches for Mercurial (pbranch)

Needs Mercurial 1.5 now.
April 7, 2010

Supports Mercurial 1.4 with octopus merges now.
January 2, 2010

Patch branches (pbranch) is a way to develop a series of patches for submission into a main repo. It is based on topic branches, one per patch, and is thus highly suitable for collaborative and/or long-term patch development and maintenance.

Documentation

Getting The Code

You can get the code from this bitbucket.org repository. This is a clone of Mercurial with – tada! – patch branches. We also track issues there.

To try it out, you need Mercurial 1.5 or later. Then, download the pbranch extension file and configure it as an extension in your .hgrc, like so:

[extensions]
pbranch = /path/to/pbranch.py