Differences between revisions 2 and 3
Revision 2 as of 2011-02-15 15:47:13
Size: 1258
Editor: David Anes
Comment:
Revision 3 as of 2011-02-15 15:48:18
Size: 853
Editor: David Anes
Comment: I edited the wrong page!
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
=== 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 ||

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


CategoryExtensionsByOthers

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