| 1 |
.TH HG HEADS "" "" "" |
| 2 |
.SH NAME |
| 3 |
hg heads \- show branch heads |
| 4 |
.\" Man page generated from reStructuredText. |
| 5 |
. |
| 6 |
.SH SYNOPSIS |
| 7 |
.sp |
| 8 |
.nf |
| 9 |
.ft C |
| 10 |
hg heads [\-ct] [\-r STARTREV] [REV]... |
| 11 |
.ft P |
| 12 |
.fi |
| 13 |
.SH DESCRIPTION |
| 14 |
.sp |
| 15 |
With no arguments, show all open branch heads in the repository. |
| 16 |
Branch heads are changesets that have no descendants on the |
| 17 |
same branch. They are where development generally takes place and |
| 18 |
are the usual targets for update and merge operations. |
| 19 |
.sp |
| 20 |
If one or more REVs are given, only open branch heads on the |
| 21 |
branches associated with the specified changesets are shown. This |
| 22 |
means that you can use \%\fBhg heads .\fP\: to see the heads on the |
| 23 |
currently checked\-out branch. |
| 24 |
.sp |
| 25 |
If \-c/\-\-closed is specified, also show branch heads marked closed |
| 26 |
(see \%\fBhg commit \-\-close\-branch\fP\:). |
| 27 |
.sp |
| 28 |
If STARTREV is specified, only those heads that are descendants of |
| 29 |
STARTREV will be displayed. |
| 30 |
.sp |
| 31 |
If \-t/\-\-topo is specified, named branch mechanics will be ignored and only |
| 32 |
topological heads (changesets with no children) will be shown. |
| 33 |
.sp |
| 34 |
Returns 0 if matching heads are found, 1 if not. |
| 35 |
.SH OPTIONS |
| 36 |
.INDENT 0.0 |
| 37 |
.TP |
| 38 |
.BI \-r, \-\-rev \ <STARTREV> |
| 39 |
. |
| 40 |
show only heads which are descendants of STARTREV |
| 41 |
.TP |
| 42 |
.B \-t, \-\-topo |
| 43 |
. |
| 44 |
show topological heads only |
| 45 |
.TP |
| 46 |
.B \-a, \-\-active |
| 47 |
. |
| 48 |
show active branchheads only (DEPRECATED) |
| 49 |
.TP |
| 50 |
.B \-c, \-\-closed |
| 51 |
. |
| 52 |
show normal and closed branch heads |
| 53 |
.TP |
| 54 |
.BI \-\-style \ <STYLE> |
| 55 |
. |
| 56 |
display using template map file (DEPRECATED) |
| 57 |
.TP |
| 58 |
.BI \-T, \-\-template \ <TEMPLATE> |
| 59 |
. |
| 60 |
display with template |
| 61 |
.UNINDENT |
| 62 |
.\" Generated by docutils manpage writer. |
| 63 |
.\" |
| 64 |
. |