HG(TIP)
π HG(TIP) β bestie's guide to hg tip
okay so this is from the HG(TIP) manual, and babesβ¦ it's a DEPRECATED one. still iconic though. let's get into it π
β¨ NAME β¨
hg tip β show the tip revision (DEPRECATED) π«
β¨ SYNOPSIS β¨
hg tip [-p] [-g]
πΈ DESCRIPTION πΈ
okay so the tip revision (everyone just calls it "the tip", casual) is the changeset that was most recently added to the repository. which means it's also the most recently changed head. two for one, we love efficiency β¨
if you literally just made a commit? congrats bestie, that commit IS the tip π if you just pulled changes from another repository, then the tip of that repository becomes the current tip. the "tip" tag is special β it cannot be renamed and it cannot be assigned to a different changeset. it's the main character and it knows it π
π¨ real talk: this command is deprecated. please use hg heads instead. i'm not being dramatic, that's just what the page says π
returns 0 on success. slay.
π OPTIONS π
-p,--patchβ show patch π©Ή-g,--gitβ use git extended diff format π§--style <STYLE>β display using template map file (DEPRECATED) π-T,--template <TEMPLATE>β display with template π
and that's the whole page fr fr. this was HG(TIP), straight from the HG(TIP) manual page β no fancy version number or date came along with it, so just take the vibe and go π¦
go run hg heads instead, bestie. do it for me. periodt π
π¦ 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