Differences between revisions 13 and 14
Revision 13 as of 2008-09-14 13:14:55
Size: 1299
Editor: abuehl
Comment:
Revision 14 as of 2009-05-19 19:31:01
Size: 1308
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
A '''head''' is a [:ChangeSet:changeset] with no child changesets. 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]. A '''head''' is a [[ChangeSet|changeset]] with no child changesets. 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]].
Line 24: Line 24:
If you have just made a [:Commit:commit], that commit will be If you have just made a [[Commit|commit]], that commit will be
Line 28: Line 28:
Mercurial supports [:MultipleHeads:multiple heads] concurrently within a single repository. Mercurial supports [[MultipleHeads|multiple heads]] concurrently within a single repository.
Line 32: Line 32:
See also: [:Branch], [:WorkingDirectory] See also: [[Branch]], [[WorkingDirectory]]

Head

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

A head is a changeset with no child changesets. The tip is the most recently changed head. Other heads are recent pulls into a repository that have not yet been merged.

If you have just made a 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 multiple heads concurrently within a single repository.

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

See also: Branch, WorkingDirectory


CategoryCommand CategoryGlossary

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