Branch Head Extension

This extension is not distributed with Mercurial.

Author: KevinBullock

Repository: http://bitbucket.org/krbullock/hg-branch-head/

Overview

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.

Configuration

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

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

Configuration file location

Locate your Mercurial configuration file (or create if it does not exist):

*OS*

*Mercurial*

*Configuration file*

Linux

Vanilla

$HOME/.hgrc

MacOS

Vanilla

$HOME/.hgrc

Windows

Cygwin

$HOME/.hgrc

Windows

TortoiseHG

%USERNAME%\mercurial.ini


CategoryExtensionsByOthers