Heads on a specific branch

Sune Foldager cryo at cyanite.org
Wed Jun 1 08:21:35 CDT 2011

On 2011-06-01 06:11, Paul Sargent wrote:
>So I've just had a minor nightmare where I told someone the reason he
>couldn't push was because he had multiple heads on the branch, and he
>needed to merge them. He went away and merged all the heads which
>included several named branches, and then proceeded to push once he
>got down to a single head.
>I've now got someone else asking me a similar question. Is there a
>command I can give them that will identify the heads that are in a
>specific branch (or the default branch)?

hg heads <branchname>

More information about the Mercurial mailing list