diff -r d44efe0e6f40 -r d6e02248cdba mercurial/commands.py --- a/mercurial/commands.py Wed Oct 03 22:32:18 2018 +0900 +++ b/mercurial/commands.py Wed Oct 03 22:38:49 2018 +0900 @@ -1132,6 +1132,18 @@ Use the command :hg:`update` to switch to an existing branch. + .. container:: verbose + + Template: + + The following keywords are supported in addition to the common template + keywords and functions such as ``{branch}``. See also + :hg:`help templates`. + + :active: Boolean. True if the branch is active. + :closed: Boolean. True if the branch is closed. + :current: Boolean. True if it is the current branch. + Returns 0. """