| 1 |
.TH HG BRANCHES "" "" "" |
| 2 |
.SH NAME |
| 3 |
hg branches \- list repository named branches |
| 4 |
.\" Man page generated from reStructuredText. |
| 5 |
. |
| 6 |
.SH SYNOPSIS |
| 7 |
.sp |
| 8 |
.nf |
| 9 |
.ft C |
| 10 |
hg branches [\-c] |
| 11 |
.ft P |
| 12 |
.fi |
| 13 |
.SH DESCRIPTION |
| 14 |
.sp |
| 15 |
List the repository\(aqs named branches, indicating which ones are |
| 16 |
inactive. If \-c/\-\-closed is specified, also list branches which have |
| 17 |
been marked closed (see \%\fBhg commit \-\-close\-branch\fP\:). |
| 18 |
.sp |
| 19 |
Use the command \%\fBhg update\fP\: to switch to an existing branch. |
| 20 |
.sp |
| 21 |
Template: |
| 22 |
.sp |
| 23 |
The following keywords are supported in addition to the common template |
| 24 |
keywords and functions such as \fB{branch}\fP. See also |
| 25 |
\%\fBhg help templates\fP\:. |
| 26 |
.INDENT 0.0 |
| 27 |
.TP |
| 28 |
.B active |
| 29 |
. |
| 30 |
Boolean. True if the branch is active. |
| 31 |
.TP |
| 32 |
.B closed |
| 33 |
. |
| 34 |
Boolean. True if the branch is closed. |
| 35 |
.TP |
| 36 |
.B current |
| 37 |
. |
| 38 |
Boolean. True if it is the current branch. |
| 39 |
.UNINDENT |
| 40 |
.sp |
| 41 |
Returns 0. |
| 42 |
.SH OPTIONS |
| 43 |
.INDENT 0.0 |
| 44 |
.TP |
| 45 |
.B \-a, \-\-active |
| 46 |
. |
| 47 |
show only branches that have unmerged heads (DEPRECATED) |
| 48 |
.TP |
| 49 |
.B \-c, \-\-closed |
| 50 |
. |
| 51 |
show normal and closed branches |
| 52 |
.TP |
| 53 |
.BI \-r, \-\-rev \ <VALUE[+]> |
| 54 |
. |
| 55 |
show branch name(s) of the given rev |
| 56 |
.TP |
| 57 |
.BI \-T, \-\-template \ <TEMPLATE> |
| 58 |
. |
| 59 |
display with template |
| 60 |
.UNINDENT |
| 61 |
.sp |
| 62 |
[+] marked option can be specified multiple times |
| 63 |
.\" Generated by docutils manpage writer. |
| 64 |
.\" |
| 65 |
. |