comparison mercurial/commands.py @ 40013:d6e02248cdba

help: document about "branches" template keywords
author Yuya Nishihara <yuya@tcha.org>
date Wed, 03 Oct 2018 22:38:49 +0900
parents d44efe0e6f40
children d6b3cb3c5b11
comparison
equal deleted inserted replaced
40012:d44efe0e6f40 40013:d6e02248cdba
1130 inactive. If -c/--closed is specified, also list branches which have 1130 inactive. If -c/--closed is specified, also list branches which have
1131 been marked closed (see :hg:`commit --close-branch`). 1131 been marked closed (see :hg:`commit --close-branch`).
1132 1132
1133 Use the command :hg:`update` to switch to an existing branch. 1133 Use the command :hg:`update` to switch to an existing branch.
1134 1134
1135 .. container:: verbose
1136
1137 Template:
1138
1139 The following keywords are supported in addition to the common template
1140 keywords and functions such as ``{branch}``. See also
1141 :hg:`help templates`.
1142
1143 :active: Boolean. True if the branch is active.
1144 :closed: Boolean. True if the branch is closed.
1145 :current: Boolean. True if it is the current branch.
1146
1135 Returns 0. 1147 Returns 0.
1136 """ 1148 """
1137 1149
1138 opts = pycompat.byteskwargs(opts) 1150 opts = pycompat.byteskwargs(opts)
1139 ui.pager('branches') 1151 ui.pager('branches')