Differences between revisions 7 and 18 (spanning 11 versions)
Revision 7 as of 2008-04-19 23:39:33
Size: 1493
Editor: abuehl
Comment:
Revision 18 as of 2013-08-27 11:49:49
Size: 315
Editor: WYOKelvin
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== 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
They call the author Rickey and he totally likes this name. Invoicing is how he supports his family. Modelling trains is anything his spouse doesn't love but he does. His home is now in Nevada and he has everything that he demands there. Go to his website to find out more: http://ynukorea.org/?document_srl=23781

They call the author Rickey and he totally likes this name. Invoicing is how he supports his family. Modelling trains is anything his spouse doesn't love but he does. His home is now in Nevada and he has everything that he demands there. Go to his website to find out more: http://ynukorea.org/?document_srl=23781

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