hg-tip(1)

hg-tip1

Show the tip revision (deprecated)

Usage

hg tip [-p] [-g]

Overview

The tip revision (usually just called the tip) is the changeset most recently added to the repository (and therefore the most recently changed head).

If you have just made a commit, that commit will be the tip. If you have just pulled changes from another repository, the tip of that repository becomes the current tip. The "tip" tag is special and cannot be renamed or assigned to a different changeset.

This command is deprecated, please use hg heads instead.

Returns 0 on success.

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

From mercurial 7.2.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.