[issue1965] Add an option to heads to indicate all heads

Bryan O'Sullivan bugs at mercurial.selenic.com
Tue Dec 29 15:49:56 CST 2009

New submission from Bryan O'Sullivan <bos at serpentine.com>:

At the moment, there doesn't seem to be a way, with "hg heads", to find the 
set of all heads on all active branches.

I ran into a problem today where the default branch had two heads, but one of 
those heads was a parent of a named branch.  Since that head had a child, 
wasn't listed by "hg heads", and I only found out by accident (by running "hg 
heads default") that it even existed.

I really think that "hg heads" should be printing all branch heads by 
default, regardless of whether they have children that are on different named 
branches, but given that I don't expect that to fly, a "--all" option would 
be good enough.

messages: 11314
nosy: bos
priority: bug
status: unread
title: Add an option to heads to indicate all heads

Mercurial issue tracker <bugs at mercurial.selenic.com>

More information about the Mercurial-devel mailing list