Differences between revisions 7 and 11 (spanning 4 versions)
Revision 7 as of 2008-04-19 23:39:33
Size: 1493
Editor: abuehl
Comment:
Revision 11 as of 2008-06-04 23:19:28
Size: 679
Editor: abuehl
Comment: back to official URL
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
=== Help text ===
{{{
hg heads [-r REV] [REV]...
Help text: http://www.selenic.com/mercurial/hg.1.html#heads
Line 17: Line 15:
show current repository heads or show branch heads

    With no arguments, show all repository head changesets.

    If branch or revisions names are given this will show the heads of
    the specified branches or the branches those revisions are tagged
    with.

    Repository "heads" are changesets that don't have child
    changesets. They are where development generally takes place and
    are the usual targets for update and merge operations.

    Branch heads are changesets that have a given branch tag, but have
    no child changesets with that tag. They are usually where
    development on the given branch takes place.

options:

 -r --rev show only heads which are descendants of rev
    --style display using template map file
    --template display with template
}}}

See also: ["Branch"]
See also: [:Branch]

Head

hg heads [-r REV] [REV]...

A head is a [:ChangeSet:changeset] with no children. The [:Tip:tip] is the most recently changed head. Other heads are recent [:Pull:pulls] into a [:Repository:repository] that have not yet been [:Merge:merged].

If you have just made a [:Commit:commit], that commit will be the tip. Alternately, if you have just pulled from another repository, the tip of that repository becomes the current tip.

Mercurial supports [:MultipleHeads:multiple heads] concurrently within a single repository.

Help text: http://www.selenic.com/mercurial/hg.1.html#heads

See also: [:Branch]


CategoryCommand CategoryGlossary

Head (last edited 2013-08-27 13:53:32 by AugieFackler)