Differences between revisions 6 and 7
Revision 6 as of 2008-02-08 21:13:42
Size: 601
Editor: abuehl
Comment: +See also: ["Branch"]
Revision 7 as of 2008-04-19 23:39:33
Size: 1493
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
''hg heads'' `hg heads [-r REV] [REV]...`
Line 13: Line 13:
=== Help text ===
{{{
hg heads [-r REV] [REV]...

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
}}}

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

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

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"]


CategoryCommand CategoryGlossary

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