docs/master

Help: tip

hg tip [-p] [-g]

show the tip revision

    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.

    Returns 0 on success.

options:

 -p --patch             show patch
 -g --git               use git extended diff format
    --style STYLE       display using template map file
    --template TEMPLATE display with template

use "hg -v help tip" to show more info