Size: 601
Comment: +See also: ["Branch"]
|
Size: 1493
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"]