# HG changeset patch # User Yuya Nishihara # Date 1538573929 -32400 # Node ID d6e02248cdba087794012682aa936a398bf2205d # Parent d44efe0e6f40d447d804b823e3a99771ff97f0fa help: document about "branches" template keywords 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. """