Branch Head Extension

This extension is not distributed with Mercurial.

Author: KevinBullock



The branchhead extension shows the head of the branch the current working directory is on. This is useful if your repository has multiple anonymous branches and you want to update to the head of the one you're currently on. It can also show the branch head(s) starting from any given revision using the -r/--rev option.

If the line of history diverges after the current revision, hg branchhead will show the heads of all subsequent branches.


Configure your .hgrc to enable the extension by adding following lines:

hgbranchhead = /path/to/


BranchHeadExtension (last edited 2011-02-15 15:48:18 by David Anes)