HG(BRANCHES)
πΈ hg branches β the HG(BRANCHES) page, bestie πΈ
π NAME π
hg branches β list repository named branches
β¨ SYNOPSIS β¨
hg branches [-c]
π DESCRIPTION π
Okay so hg branches lists the repository's named branches, and it tells you which ones are inactive. If you pass -c/--closed, it also lists branches that have been marked closed β see hg commit --close-branch.
Wanna switch to a branch that already exists? Use the command hg update. Slay.
π§ Template:
The following keywords are supported in addition to the common template keywords and functions such as {branch}. Also go peep 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.
Also: Returns 0.
π 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
π That's the HG(BRANCHES) manual moment, bestie. Manual name: HG(BRANCHES). Stay iconic. π
π¦ where this page comes from
- arch rolling: mercurial 7.2.4-1 Β· GPL
- fedora 43: mercurial 7.1.1-1.fc43 Β· GPL-2.0-or-later
- fedora 43: mercurial 7.1.1-2.fc43 Β· GPL-2.0-or-later
- fedora 44: mercurial 7.2-1.fc44 Β· GPL-2.0-or-later
- fedora 44: mercurial 7.2.4-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: mercurial 7.1.2
- nixos 26.05: mercurial-full 7.1.2
- nixpkgs unstable: mercurial 7.2.2
- nixpkgs unstable: mercurial-full 7.2.2
- opensuse-leap 16.0: mercurial 7.0.1-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: mercurial 7.0.1-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: mercurial 7.0.1-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: mercurial 7.0.1-160000.2.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms