logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hg branches - list repository named branches

Description

       List  the  repository's  named branches, indicating which ones are inactive. If -c/--closed is specified,
       also list branches which have been marked closed (see hgcommit--close-branch).

       Use the command hgupdate to switch to an existing branch.

       Template:

       The following keywords are supported in addition to the common template keywords and  functions  such  as
       {branch}. See also hghelptemplates.

       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.

Name

       hg branches - list repository named branches

Options

-a,--active
              show only branches that have unmerged heads (DEPRECATED)

       -c,--closed
              show normal and closed branches

       -r,--rev<VALUE[+]>
              show branch name(s) of the given rev

       -T,--template<TEMPLATE>
              display with template

              [+] marked option can be specified multiple times

                                                                                                    HG(BRANCHES)

Synopsis

       hg branches [-c]

See Also